code: func NewServerCredentials(serverConfig *tls.Config, acceptedSANs map[string]struct{}) (credentials.TransportCredentials, error) {
  	if serverConfig == nil {
  		return nil, NilServerConfigErr
  	}
  
  	return &serverTransportCredentials{serverConfig, acceptedSANs}, nil
  }
docs: // NewServerCredentials returns a new initialized grpc/credentials.TransportCredentials for server usage