Documentation
¶
Overview ¶
Package runner carries what the runner handed this app process, through contexts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRunner = errs.New("E-RUN-004", "this context does not carry the app's runner",
"pass the context of a request, or the one app.Options.OnStart receives")
ErrNoRunner is returned by building blocks called with a context that does not come from the app.
Functions ¶
Types ¶
type Session ¶
type Session struct {
App, Env, Version string
Settings map[string]string
CSRFKey []byte
// Dir is the runner's folder of sockets.
Dir string
Secrets runnerv1connect.SecretsServiceClient
Files runnerv1connect.FilesServiceClient
Mail runnerv1connect.MailServiceClient
Rpc runnerv1connect.RpcServiceClient
Export func(*runnerv1.Span) // never blocks
}
Session is what the runner handed the process at start-up.
Click to show internal directories.
Click to hide internal directories.