Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
holds context values and handles write and read accesses
func (*Context) Read ¶
func (c *Context) Read() ContextValues
returns copy of context values to read
func (*Context) Write ¶
func (c *Context) Write(writer func(values *ContextValues)) ContextValues
provides writer to write context values
type ContextValues ¶
type ContextValues struct { // is current network trusted TrustedNetwork bool // is vpn connected Connected bool // is identity agent logged in LoggedIn bool // is identity agent action in progress IdentityInProgress bool // is vpn action in progress VPNInProgress bool }
type to hold context values
type Credentials ¶
credentials to read on login
Click to show internal directories.
Click to hide internal directories.