Documentation ¶
Index ¶
- Constants
- Variables
- func ContextGetLogger(ctx context.Context) log.Logger
- func ContextGetReqID(ctx context.Context) string
- func ContextWithLogger(ctx context.Context, logger log.Logger) context.Context
- func ContextWithReqID(ctx context.Context, reqID string) context.Context
- func GRPCServer(globalCtx context.Context, logger log.Logger, verbose bool, ...) *grpc.Server
- func NewULID() string
- func StatusError(err error) error
Constants ¶
View Source
const DefaultTimeout = time.Hour
Variables ¶
View Source
var Timeout = DefaultTimeout
Functions ¶
func ContextGetReqID ¶
func ContextWithLogger ¶
func GRPCServer ¶
func StatusError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.