sessinfo

package
v0.0.0-...-9ca37e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2018 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL