Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConn ¶
type ClientConn = grpc.ClientConn
func Dial ¶
func Dial(target string, opts ...DialOption) (*ClientConn, error)
func NewMock ¶
func NewMock(s *Server) (*ClientConn, func(m interface{ Run() int }))
type DialOption ¶
type DialOption = grpc.DialOption
type Option ¶
type Option = optionutil.I[Server]
func WithReflection ¶
func WithServerOptions ¶
func WithServerOptions(opts ...grpc.ServerOption) Option
func WithStreamInterceptor ¶
func WithStreamInterceptor(ints ...grpc.StreamServerInterceptor) Option
func WithUnaryInterceptor ¶
func WithUnaryInterceptor(ints ...grpc.UnaryServerInterceptor) Option
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) RegisterServer ¶
Click to show internal directories.
Click to hide internal directories.