Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SystemOrginators = []RequestOrginatorType{Dispatcher, EventWorkflow, SessionWorkflow, SchedulerWorkflow}
Functions ¶
func WithOwnershipOf ¶
func WithRequestOrginator ¶
func WithRequestOrginator(ctx context.Context, component RequestOrginatorType) context.Context
Types ¶
type RequestOrginatorType ¶
type RequestOrginatorType int
const ( Dispatcher RequestOrginatorType = iota EventWorkflow SessionWorkflow SchedulerWorkflow User Unknown )
func RequestOrginator ¶
func RequestOrginator(ctx context.Context) RequestOrginatorType
func (RequestOrginatorType) String ¶
func (c RequestOrginatorType) String() string
Click to show internal directories.
Click to hide internal directories.