Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func StartServer ¶
func StartServer(tb testing.TB, registerFn func(s grpc.ServiceRegistrar), opts ...ServerOption) *Server
func (*Server) NewGRPCClient ¶ added in v1.11.2
func (s *Server) NewGRPCClient(tb testing.TB, extraOptions ...grpc.DialOption) grpc.ClientConnInterface
type ServerOption ¶
type ServerOption = func(*serverConfig)
func Middleware ¶
func Middleware(ms ...middleware.Middleware) ServerOption
func OverUDS ¶
func OverUDS() ServerOption
func OverrideContext ¶
func OverrideContext(fn func(context.Context) context.Context) ServerOption
Click to show internal directories.
Click to hide internal directories.