Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶ added in v1.1.0
type Attributes map[string]interface{}
Attributes for random user attributes
func (Attributes) Get ¶ added in v1.1.0
func (a Attributes) Get(key string) string
Get returns an attribute by it's key
func (Attributes) Keys ¶ added in v1.1.0
func (a Attributes) Keys() []string
Keys lists all attribute keys
type User ¶
type User struct { Name string Nicknames []string Attributes Attributes }
User contains the basic user information
Click to show internal directories.
Click to hide internal directories.