Documentation
¶
Index ¶
- func AppendAuthorization(ctx context.Context, authorization string) context.Context
- func AppendLogger(ctx context.Context, log *logger.Logger) context.Context
- func AppendRequestId(ctx context.Context, requestId string) context.Context
- func AppendSession(ctx context.Context, session interface{}) context.Context
- func AppendSessionId(ctx context.Context, sessionId string) context.Context
- func AppendUserId(ctx context.Context, userId string) context.Context
- func GetAuthorization(ctx context.Context) string
- func GetLogger(ctx context.Context) (l *logger.Logger)
- func GetRequestId(ctx context.Context) string
- func GetSession(ctx context.Context) interface{}
- func GetSessionId(ctx context.Context) string
- func GetUserId(ctx context.Context) string
- func NewContext(ctx context.Context) context.Context
- func NewContextFromRequest(r *http.Request) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendAuthorization ¶
func GetAuthorization ¶
func GetRequestId ¶
func GetSession ¶
func GetSessionId ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.