Documentation ¶
Index ¶
- func AuthRoleStrings() []string
- type AuthRole
- func (i AuthRole) IsAAuthRole() bool
- func (i AuthRole) MarshalJSON() ([]byte, error)
- func (i AuthRole) MarshalText() ([]byte, error)
- func (i *AuthRole) Scan(value interface{}) error
- func (i AuthRole) String() string
- func (i *AuthRole) UnmarshalJSON(data []byte) error
- func (i *AuthRole) UnmarshalText(text []byte) error
- func (authRole *AuthRole) Validate() error
- func (i AuthRole) Value() (driver.Value, error)
- func (authRole AuthRole) Values() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthRoleStrings ¶
func AuthRoleStrings() []string
AuthRoleStrings returns a slice of all String values of the enum
Types ¶
type AuthRole ¶
type AuthRole int
func AuthRoleString ¶
AuthRoleString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func AuthRoleValues ¶
func AuthRoleValues() []AuthRole
AuthRoleValues returns all values of the enum
func (AuthRole) IsAAuthRole ¶
IsAAuthRole returns "true" if the value is listed in the enum definition. "false" otherwise
func (AuthRole) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AuthRole
func (AuthRole) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface for AuthRole
func (*AuthRole) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AuthRole
func (*AuthRole) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface for AuthRole
Click to show internal directories.
Click to hide internal directories.