Documentation ¶
Index ¶
- func CorrelationId(ctx context.Context) string
- func EnumList(ctx context.Context, ctxKey any) []string
- func GenCorrelationId() string
- func Int64(ctx context.Context, ctxKey any) int64
- func Int64List(ctx context.Context, ctxKey any) []int64
- func Locale(ctx context.Context) *mrlang.Locale
- func Logger(ctx context.Context) mrcore.Logger
- func Platform(ctx context.Context) string
- func UserIp(ctx context.Context) net.IP
- func WithCorrelationId(ctx context.Context, value string) context.Context
- func WithEnumList(ctx context.Context, ctxKey any, items []string) context.Context
- func WithInt64(ctx context.Context, ctxKey any, value int64) context.Context
- func WithInt64List(ctx context.Context, ctxKey any, items []int64) context.Context
- func WithLocale(ctx context.Context, value *mrlang.Locale) context.Context
- func WithLogger(ctx context.Context, value mrcore.Logger) context.Context
- func WithPlatform(ctx context.Context, value string) context.Context
- func WithUserIp(ctx context.Context, value net.IP) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CorrelationId ¶
func GenCorrelationId ¶
func GenCorrelationId() string
func WithEnumList ¶
func WithInt64List ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.