Documentation ¶
Index ¶
- func Error(ctx context.Context) error
- func MakeAnonymousRequestContext(ctx context.Context, sctx *session.RequestContext, hctx *HandlerRegContext) *request.AnonymousContext
- func MakeAuthorizedRequestContext(ctx context.Context, sctx *session.RequestContext, hctx *HandlerRegContext) (*request.AuthorizedContext, error)
- func MakeInternalRequestContext(ctx context.Context, sctx *session.RequestContext, hctx *HandlerRegContext, ...) (*request.InternalContext, error)
- func RequestContext(ctx context.Context) request.Context
- func StoreError(ctx context.Context, err error) context.Context
- func StoreRequestContext(ctx context.Context, rc request.Context) context.Context
- type HandlerRegContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAnonymousRequestContext ¶
func MakeAnonymousRequestContext(ctx context.Context, sctx *session.RequestContext, hctx *HandlerRegContext) *request.AnonymousContext
func MakeAuthorizedRequestContext ¶
func MakeAuthorizedRequestContext(ctx context.Context, sctx *session.RequestContext, hctx *HandlerRegContext) (*request.AuthorizedContext, error)
func MakeInternalRequestContext ¶
func MakeInternalRequestContext(ctx context.Context, sctx *session.RequestContext, hctx *HandlerRegContext, requestAccessToken string) (*request.InternalContext, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.