Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContextValue ¶
func GetContextValue(name string) interface{}
func RemoveContextValue ¶
func RemoveContextValue(name string)
func SetContextValue ¶
func SetContextValue(name string, v interface{})
Types ¶
type GlobalContext ¶
type GlobalContext struct { sync.RWMutex ContextVariables map[string]*routine.ThreadLocal[interface{}] }
func (*GlobalContext) GetVariable ¶
func (gc *GlobalContext) GetVariable(name string) interface{}
func (*GlobalContext) RemoveVariable ¶
func (gc *GlobalContext) RemoveVariable(name string)
func (*GlobalContext) SetVariable ¶
func (gc *GlobalContext) SetVariable(name string, v interface{})
Click to show internal directories.
Click to hide internal directories.