Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSessionInfo ¶
func ParseSessionInfo(data map[string]interface{}) wwr.SessionInfo
ParseSessionInfo parses the session info from a variant map
Types ¶
type SessionInfo ¶
type SessionInfo struct { UserIdentifier api.Identifier UserType api.UserType }
SessionInfo represents an API server specific session info object
func (*SessionInfo) Copy ¶
func (sinf *SessionInfo) Copy() wwr.SessionInfo
Copy implements the wwr.SessionInfo interface
func (*SessionInfo) Fields ¶
func (sinf *SessionInfo) Fields() []string
Fields implements the wwr.SessionInfo interface
func (*SessionInfo) Value ¶
func (sinf *SessionInfo) Value(fieldName string) interface{}
Value implements the wwr.SessionInfo interface
Click to show internal directories.
Click to hide internal directories.