Documentation
¶
Index ¶
- func NewCallOption(opts ...CallOption) []grpc.CallOption
- func NewDialOption(opts ...DialOptionFunc) []grpc.DialOption
- func NewServerOption(opts ...ServerOptionFunc) []grpc.ServerOption
- func RegisterTools(s *grpc.Server)
- type CallOption
- type CallOptionFunc
- type DialOption
- type DialOptionFunc
- type Register
- type RegisterGRPC
- type RegisterMux
- type ServerOption
- type ServerOptionFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCallOption ¶ added in v1.0.23
func NewCallOption(opts ...CallOption) []grpc.CallOption
func NewDialOption ¶ added in v1.0.23
func NewDialOption(opts ...DialOptionFunc) []grpc.DialOption
func NewServerOption ¶ added in v1.0.23
func NewServerOption(opts ...ServerOptionFunc) []grpc.ServerOption
func RegisterTools ¶ added in v1.0.23
Types ¶
type CallOption ¶ added in v1.0.23
type CallOption struct{}
type CallOptionFunc ¶ added in v1.0.23
type CallOptionFunc func(*CallOption)
type DialOption ¶ added in v1.0.23
type DialOption struct{}
type DialOptionFunc ¶ added in v1.0.23
type DialOptionFunc func(*DialOption)
type Register ¶ added in v1.0.23
type Register struct { RegisterGRPC RegisterGRPC RegisterMux RegisterMux }
func NewRegister ¶ added in v1.0.23
func NewRegister(registerGRPC RegisterGRPC, registerMux RegisterMux) Register
type RegisterGRPC ¶
type RegisterMux ¶ added in v1.0.23
type ServerOption ¶ added in v1.0.23
type ServerOption struct {
// contains filtered or unexported fields
}
type ServerOptionFunc ¶ added in v1.0.23
type ServerOptionFunc func(*ServerOption)
func ServerOptionLogger ¶ added in v1.0.25
func ServerOptionLogger(l logger.Logger) ServerOptionFunc
Click to show internal directories.
Click to hide internal directories.