Documentation ¶
Index ¶
- Constants
- type Config
- type Plugin
- func (p *Plugin) Boot(conf interface{}, dependencies ...interface{}) plugins.Plugin
- func (p *Plugin) Close() error
- func (p *Plugin) CreateTable(name string) error
- func (p *Plugin) Delete(id string) error
- func (p *Plugin) Exists(id string) (bool, error)
- func (p *Plugin) FindAll() ([]*User, error)
- func (p *Plugin) FindByID(id string) (*User, error)
- func (p *Plugin) Insert(u User) error
- func (p *Plugin) IsEnabled() bool
- func (p *Plugin) Name() string
- func (p *Plugin) RegisterUser(id string, firstname string, lastname string, username string)
- func (p *Plugin) Start() error
- type User
Constants ¶
View Source
const Name = "usermanager"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) CreateTable ¶
func (*Plugin) RegisterUser ¶
Click to show internal directories.
Click to hide internal directories.