Documentation ¶
Index ¶
- type Role
- func (a *Role) Add() (id int, err error)
- func (a *Role) Count() (int, error)
- func (a *Role) Delete() error
- func (a *Role) Edit() error
- func (a *Role) ExistByID() (bool, error)
- func (a *Role) Get() (*models.Role, error)
- func (a *Role) GetAll() ([]*models.Role, error)
- func (a *Role) LoadAllPolicy() error
- func (a *Role) LoadPolicy(id int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.