Documentation ¶
Index ¶
- type AppData
- type AppManager
- type IAppManager
- type IManager
- type Manager
- func (m *Manager) AnonymousApp() application.IApp
- func (m *Manager) Del(appID string)
- func (m *Manager) List() []application.IAuthUser
- func (m *Manager) ListByDriver(driver string) []application.IAuthUser
- func (m *Manager) Set(app application.IApp, filters []application.IAuth, ...)
- func (m *Manager) SetAnonymousApp(app application.IApp)
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 AnonymousApp() application.IApp SetAnonymousApp(app application.IApp) }
type Manager ¶
type Manager struct { // filters map[string]application.IAuthUser eosc.Untyped[string, application.IAuth] // contains filtered or unexported fields }
func (*Manager) AnonymousApp ¶ added in v0.8.2
func (m *Manager) AnonymousApp() application.IApp
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)
func (*Manager) SetAnonymousApp ¶ added in v0.8.2
func (m *Manager) SetAnonymousApp(app application.IApp)
Click to show internal directories.
Click to hide internal directories.