Documentation ¶
Index ¶
- Variables
- func AddRequestIDToCtx(ctx context.Context) context.Context
- func GetRequestIDFromCtx(ctx context.Context) string
- func GetRequestIDFromMDCtx(ctx context.Context) string
- func NewMDFromRequestIDCtx(ctx context.Context) metadata.MD
- func SetRequestIDToCtx(ctx context.Context, requestID string) context.Context
- type MyLogger
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoLogger = myerrors.NewErrorInternal("my_logger.Get для отсутствующего логгера")
)
Functions ¶
func GetRequestIDFromCtx ¶
func GetRequestIDFromMDCtx ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.