Documentation ¶
Index ¶
- func IsAuth(c *token.Config) bool
- func NewClient(options ClientOpts) (*g.ClientConn, error)
- func StreamServerInterceptor(cfg *token.Config, tkn *client.Token) []grpc.StreamServerInterceptor
- func UnaryServerInterceptor(cfg *token.Config, tkn *client.Token) []grpc.UnaryServerInterceptor
- type ClientOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶ added in v1.52.0
func NewClient(options ClientOpts) (*g.ClientConn, error)
NewClient for gRPC.
func StreamServerInterceptor ¶
StreamServerInterceptor for gRPC.
func UnaryServerInterceptor ¶
UnaryServerInterceptor for gRPC.
Types ¶
Click to show internal directories.
Click to hide internal directories.