Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAuthStatus = status.Error(invalid, "invalid api key")
Functions ¶
func AuthUnaryServerInterceptor ¶
func AuthUnaryServerInterceptor(apiKey string) grpc.UnaryServerInterceptor
func Recovery ¶
func Recovery(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (_ interface{}, err error)
func WithSecure ¶
func WithSecure(conf *config)
Types ¶
Click to show internal directories.
Click to hide internal directories.