Documentation
¶
Index ¶
- func Auth(ctx context.Context) server.Auth
- func DumpContext(w io.Writer, ctx context.Context) error
- func Label(ctx context.Context) string
- func Log(ctx context.Context) server.Logger
- func Path(ctx context.Context) []string
- func Provider(ctx context.Context) server.Provider
- func User(ctx context.Context) *auth.User
- func WithAuth(ctx context.Context, auth server.Auth) context.Context
- func WithLogger(parent context.Context, log server.Logger) context.Context
- func WithPath(parent context.Context, path ...string) context.Context
- func WithProvider(parent context.Context, provider server.Provider) context.Context
- func WithUser(ctx context.Context, user *auth.User) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithLogger ¶ added in v1.5.18
Set the logger in the context
func WithProvider ¶
Set the provider in the context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.