Documentation
¶
Index ¶
- type Context
- func (context Context) Abort() <-chan struct{}
- func (context Context) Auth() facade.Authorizer
- func (context Context) Dispose()
- func (context Context) ID() string
- func (context Context) Resources() facade.Resources
- func (context Context) State() *state.State
- func (context Context) StatePool() *state.StatePool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Abort_ <-chan struct{} Auth_ facade.Authorizer Dispose_ func() Resources_ facade.Resources State_ *state.State StatePool_ *state.StatePool ID_ string // Identity is not part of the facade.Context interface, but is instead // used to make sure that the context objects are the same. Identity string }
Context implements facade.Context in the simplest possible way.
func (Context) Abort ¶
func (context Context) Abort() <-chan struct{}
Abort is part of the facade.Context interface.
func (Context) Auth ¶
func (context Context) Auth() facade.Authorizer
Auth is part of the facade.Context interface.
func (Context) Dispose ¶
func (context Context) Dispose()
Dispose is part of the facade.Context interface.
Click to show internal directories.
Click to hide internal directories.