Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasAction ¶
func HasAction(actions []user.UserAction, action user.UserAction) bool
Types ¶
type CacheSyncScript ¶
type CacheSyncScript struct {
// contains filtered or unexported fields
}
func (CacheSyncScript) Index ¶
func (s CacheSyncScript) Index() string
func (CacheSyncScript) PluginName ¶
func (s CacheSyncScript) PluginName() string
func (CacheSyncScript) SetCache ¶
func (s CacheSyncScript) SetCache(response *elastic.SearchResult) error
type Users ¶
type Users struct {
// contains filtered or unexported fields
}
Users plugin deals with user management.
func Instance ¶
func Instance() *Users
Use only this function to fetch the instance of user from within this package to avoid creating stateless duplicates of the plugin. However, instance of Users is not meant to be used outside the package.
func (*Users) ESMiddleware ¶
func (u *Users) ESMiddleware() []middleware.Middleware
Default empty middleware array function
func (*Users) RSMiddleware ¶
func (u *Users) RSMiddleware() []middleware.Middleware
Default empty middleware array function
Source Files ¶
Click to show internal directories.
Click to hide internal directories.