Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
NewServer returns a *grpc.Server and a dialer for that server. The server s is started with s.Serve using a *bufconn.Listener. If init is non-nil, it is called with the *grpc.Server before calling s.Serve.
_, dial := NewServer(func(s *grpc.Server) { proto.RegisterFooServer(s, ...) }) conn := dial() defer conn.Close()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.