Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type Attributes []*model.FivenetAttrs
Attributes provides methods for you to manage array data more easily.
func (Attributes) IDs ¶
func (u Attributes) IDs() (IDs []uint64)
IDs returns an array of the attribute array's ids. @return []uint
func (Attributes) Len ¶
func (u Attributes) Len() (length int64)
Len returns the number of elements of the array. @return int64
func (Attributes) Names ¶
func (u Attributes) Names() (names []string)
Names returns an array of the attribute array's key names. @return []string
type Permissions ¶
type Permissions []*model.FivenetPermissions
Permissions provides methods for you to manage array data more easily.
func (Permissions) GuardNames ¶
func (u Permissions) GuardNames() (guards []string)
GuardNames returns an array of the permission array's guard names. @return []string
func (Permissions) IDs ¶
func (u Permissions) IDs() (IDs []uint64)
IDs returns an array of the permission array's ids. @return []uint
func (Permissions) Len ¶
func (u Permissions) Len() (length int64)
Len returns the number of elements of the array. @return int64
func (Permissions) Names ¶
func (u Permissions) Names() (names []string)
Names returns an array of the permission array's names. @return []string
type Roles ¶
type Roles []*model.FivenetRoles
Roles provides methods for you to manage array data more easily.
func (Roles) Origin ¶
func (u Roles) Origin() []*model.FivenetRoles
Origin convert the collection to role array. @return []models.ArpanetRoles