Documentation ¶
Index ¶
- type Options
- type Plugin
- func (p *Plugin) Close() error
- func (p *Plugin) GetConfiguration() interface{}
- func (p *Plugin) GetLogWrapCaller(fn micro_client.CallFunc) micro_client.CallFunc
- func (p *Plugin) GetLogWrapHandler(fn micro_server.HandlerFunc) micro_server.HandlerFunc
- func (p *Plugin) GetName() string
- func (p *Plugin) GetVersion() string
- func (p *Plugin) Init() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct { plugin.Plugin Options *Options Configuration configuration AppLogFile *os.File RequestLogFile *os.File RequestLogger *logrus.Logger }
GORM plugin
func (*Plugin) GetConfiguration ¶
func (p *Plugin) GetConfiguration() interface{}
GetConfiguration return configuration
func (*Plugin) GetLogWrapCaller ¶
func (p *Plugin) GetLogWrapCaller(fn micro_client.CallFunc) micro_client.CallFunc
func (*Plugin) GetLogWrapHandler ¶
func (p *Plugin) GetLogWrapHandler(fn micro_server.HandlerFunc) micro_server.HandlerFunc
implements the server.HandlerWrapper
func (*Plugin) GetVersion ¶
Click to show internal directories.
Click to hide internal directories.