collections

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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) IDs

func (u Roles) IDs() (IDs []uint64)

IDs returns an array of the role array's ids. @return []uint

func (Roles) Len

func (u Roles) Len() (length int64)

Len returns the number of elements of the array. @return int64

func (Roles) Origin

func (u Roles) Origin() []*model.FivenetRoles

Origin convert the collection to role array. @return []models.ArpanetRoles

Jump to

Keyboard shortcuts

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