Documentation ¶
Index ¶
- Constants
- type Config
- type Plugin
- func (p *Plugin) Close(uuid string) error
- func (p *Plugin) Exec(pld *payload.Payload) (*payload.Payload, error)
- func (p *Plugin) Init(log *zap.Logger, cfg config.Configurer, server server.Server) error
- func (p *Plugin) Name() string
- func (p *Plugin) RPC() interface{}
- func (p *Plugin) Reset() error
- func (p *Plugin) Serve() chan error
- func (p *Plugin) Stop() error
- type Server
Constants ¶
View Source
const (
RrMode string = "RR_MODE"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Servers map[string]*Server `mapstructure:"servers"` ReadBufferSize int `mapstructure:"read_buf_size"` Pool *pool.Config `mapstructure:"pool"` }
func (*Config) InitDefault ¶
Click to show internal directories.
Click to hide internal directories.