Documentation ¶
Index ¶
- Constants
- Variables
- func ContextGetReqID(ctx context.Context) string
- func ContextWithReqID(ctx context.Context, reqID string) context.Context
- func FromContext(ctx context.Context) *slog.Logger
- func GRPCServer(globalCtx context.Context, logger *slog.Logger, verbose bool, ...) *grpc.Server
- func NewT(t *testing.T) *slog.Logger
- func NewULID() string
- func StatusError(err error) error
- func WithContext(ctx context.Context, logger *slog.Logger) context.Context
Constants ¶
View Source
const (
DefaultTimeout = time.Hour
)
View Source
const Name = "proto"
Name is the name registered for the proto compressor.
Variables ¶
View Source
var Timeout = DefaultTimeout
Functions ¶
func ContextGetReqID ¶
func GRPCServer ¶
func StatusError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.