Documentation ¶
Index ¶
- type AppData
- type AppManager
- type IAppManager
- type IManager
- type Manager
- func (m *Manager) All() []application.IAuthUser
- func (m *Manager) Count() int
- func (m *Manager) Del(appID string)
- func (m *Manager) Get(id string) (application.IAuth, bool)
- func (m *Manager) List() []application.IAuthUser
- func (m *Manager) ListByDriver(driver string) []application.IAuthUser
- func (m *Manager) Set(app application.IApp, filters []application.IAuth, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppData ¶
type AppData struct {
// contains filtered or unexported fields
}
func NewAppData ¶
func NewAppData() *AppData
type AppManager ¶
type AppManager struct {
// contains filtered or unexported fields
}
func NewAppManager ¶
func NewAppManager() *AppManager
func (*AppManager) DelByAppID ¶
func (a *AppManager) DelByAppID(appID string)
func (*AppManager) DelByDriver ¶
func (a *AppManager) DelByDriver(driver string)
func (*AppManager) GetByAppID ¶
func (a *AppManager) GetByAppID(appID string) []string
func (*AppManager) GetByDriver ¶
func (a *AppManager) GetByDriver(driver string) []string
type IAppManager ¶
type IManager ¶
type IManager interface { Get(id string) (application.IAuth, bool) List() []application.IAuthUser ListByDriver(driver string) []application.IAuthUser Set(app application.IApp, filters []application.IAuth, users map[string][]application.ITransformConfig) Del(appID string) Count() int }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) All ¶
func (m *Manager) All() []application.IAuthUser
func (*Manager) List ¶
func (m *Manager) List() []application.IAuthUser
func (*Manager) ListByDriver ¶
func (m *Manager) ListByDriver(driver string) []application.IAuthUser
func (*Manager) Set ¶
func (m *Manager) Set(app application.IApp, filters []application.IAuth, users map[string][]application.ITransformConfig)
Click to show internal directories.
Click to hide internal directories.