Documentation
¶
Index ¶
- type CreateRequest
- type CreateResponse
- type GroupSchema
- type Permissions
- type Plugin
- func (p *Plugin) Backend() interface{}
- func (p *Plugin) Create(ctx *httpserve.Context)
- func (p *Plugin) GetCurrentUser(ctx *httpserve.Context)
- func (p *Plugin) List(ctx *httpserve.Context)
- func (p *Plugin) Load(env vroomy.Environment) (err error)
- func (p *Plugin) RefreshAPIKey(ctx *httpserve.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRequest ¶
type CreateResponse ¶
type GroupSchema ¶
type GroupSchema struct {
Group string `json:"group"`
Permissions []Permissions `json:"permissions"`
}
type Permissions ¶
type Plugin ¶
type Plugin struct {
vroomy.BasePlugin
// Backend
Jump *jump.Jump `vroomy:"jump"`
}
func (*Plugin) Backend ¶
func (p *Plugin) Backend() interface{}
Backend exposes this plugin's data layer to other plugins
func (*Plugin) GetCurrentUser ¶
GetCurrentUser will get the current user
func (*Plugin) Load ¶
func (p *Plugin) Load(env vroomy.Environment) (err error)
New ensures Profiles Database is built and open for access
func (*Plugin) RefreshAPIKey ¶
RefreshAPIKey will refresh the API key of a user
Click to show internal directories.
Click to hide internal directories.