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 Task(ctx context.Context) *pgqueue.Task
- func Ticker(ctx context.Context) *pgqueue.Ticker
- func User(ctx context.Context) *auth.User
- func WithAuth(ctx context.Context, auth server.Auth) context.Context
- func WithPath(parent context.Context, path ...string) context.Context
- func WithProvider(parent context.Context, provider server.Provider) context.Context
- func WithTask(parent context.Context, task *pgqueue.Task) context.Context
- func WithTicker(parent context.Context, ticker *pgqueue.Ticker) context.Context
- func WithUser(ctx context.Context, user *auth.User) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithProvider ¶
Set the provider in the context
func WithTicker ¶
Set the ticker in the context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.