Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MembershipStatus ¶
type MembershipStatus int
MembershipStatus enumerates the potential values for User.Role
const ( ACTIVE MembershipStatus = iota + 1 DISABLED DELETED PENDING )
func (MembershipStatus) EnumIndex ¶
func (r MembershipStatus) EnumIndex() int
EnumIndex returns the current index of the MembershipStatus enum value
func (MembershipStatus) Stringify ¶
func (r MembershipStatus) Stringify() string
Stringify converts Stringify enum into a string value
type ReadTableIdType ¶
type ReadTableIdType int
ReadTableIdType enumerates the potential values for User.Role
const ( PRIMARY ReadTableIdType = iota + 1 WRITE )
func (ReadTableIdType) EnumIndex ¶
func (r ReadTableIdType) EnumIndex() int
EnumIndex returns the current index of the ReadTableIdType enum value
func (ReadTableIdType) KeyString ¶
func (r ReadTableIdType) KeyString() string
KeyString converts returns a Bson filter value for ReadTableIdType
func (ReadTableIdType) Stringify ¶
func (r ReadTableIdType) Stringify() string
Stringify converts Stringify enum into a string value
type Role ¶
type Role int
Role enumerates the potential values for User.Role
type SessionType ¶
type SessionType int
SessionType enumerates the potential values for Token.Type
const ( USER SessionType = iota + 1 INTEGRATION )
func SessionTypeFromString ¶
func SessionTypeFromString(inStr string) SessionType
func (SessionType) EnumIndex ¶
func (w SessionType) EnumIndex() int
EnumIndex returns the current index of the SessionType enum value
func (SessionType) Stringify ¶
func (w SessionType) Stringify() string
Stringify converts SessionType enum into a string value
type ValidationType ¶
type ValidationType int
ValidationType enumerates the potential values for User.Role
const ( TOKEN ValidationType = iota + 1 PASSWORD )
func (ValidationType) EnumIndex ¶
func (v ValidationType) EnumIndex() int
EnumIndex returns the current index of the Role enum value
func (ValidationType) Stringify ¶
func (v ValidationType) Stringify() string
Stringify converts Stringify enum into a string value