Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
GenericInternalServerError = status.Error(codes.Internal, "Internal server error")
)
Functions ¶
func InterceptorLogger ¶
InterceptorLogger adapts zap logger to interceptor logger. This code is simple enough to be copied and not imported.
Types ¶
type RegisterFunc ¶
type RegisterFunc func() error
Click to show internal directories.
Click to hide internal directories.