README ¶ Docs: link Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Logger type Plugin func (p *Plugin) Init(log Logger) error func (p *Plugin) Name() string func (p *Plugin) RPC() any func (p *Plugin) Serve() chan error func (p *Plugin) Stop(ctx context.Context) error func (p *Plugin) Weight() uint Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Logger ¶ type Logger interface { NamedLogger(name string) *zap.Logger } Logger plugin type Plugin ¶ type Plugin struct { // contains filtered or unexported fields } func (*Plugin) Init ¶ func (p *Plugin) Init(log Logger) error func (*Plugin) Name ¶ func (p *Plugin) Name() string func (*Plugin) RPC ¶ func (p *Plugin) RPC() any func (*Plugin) Serve ¶ func (p *Plugin) Serve() chan error func (*Plugin) Stop ¶ func (p *Plugin) Stop(ctx context.Context) error func (*Plugin) Weight ¶ func (p *Plugin) Weight() uint Source Files ¶ View all Source files locker.go plugin.go reslock.go rpc.go Click to show internal directories. Click to hide internal directories.