Documentation ¶
Index ¶
- func Init()
- type ElasticsearchAPIMetadata
- type ElasticsearchAPIMetadataList
- type NativeRealm
- type Role
- func (dal *Role) Create(role *rbac.Role) (string, error)
- func (dal *Role) Delete(id string) error
- func (dal *Role) Get(id string) (rbac.Role, error)
- func (dal *Role) GetBy(field string, value interface{}) (rbac.Role, error)
- func (dal *Role) Search(keyword string, from, size int) (orm.Result, error)
- func (dal *Role) Update(role *rbac.Role) error
- type User
- func (dal *User) Create(user *rbac.User) (string, error)
- func (dal *User) Delete(id string) error
- func (dal *User) Get(id string) (rbac.User, error)
- func (dal *User) GetBy(field string, value interface{}) (*rbac.User, error)
- func (dal *User) Search(keyword string, from, size int) (orm.Result, error)
- func (dal *User) Update(user *rbac.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ElasticsearchAPIMetadataList ¶
type ElasticsearchAPIMetadataList []ElasticsearchAPIMetadata
func (ElasticsearchAPIMetadataList) GetNames ¶
func (list ElasticsearchAPIMetadataList) GetNames() []string
type NativeRealm ¶
type NativeRealm struct { }
func (*NativeRealm) Authenticate ¶
func (*NativeRealm) GetType ¶
func (r *NativeRealm) GetType() string
Click to show internal directories.
Click to hide internal directories.