README ¶ lock Lock plugin Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func NewLocker(log *zap.Logger) *locker 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() error func (p *Plugin) Weight() uint Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewLocker ¶ func NewLocker(log *zap.Logger) *locker 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() error func (*Plugin) Weight ¶ func (p *Plugin) Weight() uint Source Files ¶ View all Source files item.go locker.go plugin.go rpc.go Directories ¶ Show internal Expand all Path Synopsis rlocks Click to show internal directories. Click to hide internal directories.