plugins

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin --

func NewPlugin

func NewPlugin(log *xlog.Log, conf *config.Config, router *router.Router, scatter *backend.Scatter) *Plugin

NewPlugin -- creates new Plugin.

func (*Plugin) Close

func (plugin *Plugin) Close()

Close -- do nothing.

func (*Plugin) Init

func (plugin *Plugin) Init() error

Init -- used to register plug to plugins.

func (*Plugin) PlugAutoIncrement

func (plugin *Plugin) PlugAutoIncrement() autoincrement.AutoIncrementHandler

PlugAutoIncrement -- return AutoIncrement plug.

func (*Plugin) PlugPrivilege

func (plugin *Plugin) PlugPrivilege() privilege.PrivilegeHandler

PlugPrivilege -- return Privilege plug.

func (*Plugin) PlugShiftMgr added in v1.0.9

func (plugin *Plugin) PlugShiftMgr() shiftmanager.ShiftMgrHandler

PlugShiftMgr -- return ShiftMgr plug.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL