Documentation
¶
Index ¶
- Constants
- func AppConfig(ctx context.Context) *config.App
- func Get[T any](ctx context.Context, key string) T
- func UserConfig[T any](ctx context.Context) T
- func With[T any](ctx context.Context, key string, value T) context.Context
- func WithAppConfig(ctx context.Context, cfg *config.App) context.Context
- func WithUserConfig[T any](ctx context.Context, u T) context.Context
Constants ¶
View Source
const ( APP_CONFIG_KEY = "gooo:request:app_config" USER_CONFIG_KEY = "gooo:request:user_config" )
Variables ¶
This section is empty.
Functions ¶
func UserConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.