Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DB sqlbuilder.Database
)
Functions ¶
func SetDatabase ¶
func SetDatabase(database sqlbuilder.Database)
Types ¶
type PluginActions ¶
type PluginActions interface { GetInfo() Info GetForm() string SetInfo(map[string]interface{}) Info Routes() []Routing OnSave(map[string]interface{}) OnFailure(map[string]interface{}) OnSuccess(map[string]interface{}) OnSettingsSaved(map[string]interface{}) OnNewUser(map[string]interface{}) OnNewService(map[string]interface{}) OnUpdatedService(map[string]interface{}) OnDeletedService(map[string]interface{}) OnInstall(map[string]interface{}) OnUninstall(map[string]interface{}) OnBeforeRequest(map[string]interface{}) OnAfterRequest(map[string]interface{}) OnShutdown() OnLoad(sqlbuilder.Database) }
type PluginInfo ¶
type PluginInfo struct { Info Info PluginActions }
func (*PluginInfo) Form ¶
func (p *PluginInfo) Form() string
Click to show internal directories.
Click to hide internal directories.