Documentation ¶
Index ¶
- func GetNamespace(ctx context.Context, appCtx *structs.AppCtx) (string, error)
- func LocalDebugMode(ctx context.Context) context.Context
- func SetAppConfToCtx(ctx context.Context, appCtx *structs.AppCtx) context.Context
- func SetCtx(ctx context.Context, appCtx *structs.AppCtx, method string) context.Context
- func SetLaneNameToCtx(ctx context.Context, lane string) context.Context
- func SetUserMetaInfoToContext(ctx context.Context, appCtx *structs.AppCtx) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocalDebugMode ¶
LocalDebugMode 设置调试模式
func SetAppConfToCtx ¶
func SetLaneNameToCtx ¶
SetLaneNameToCtx 设置泳道环境, 只在调试模式下生效
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.