Documentation ¶ Index ¶ type Config type Plugin func (p *Plugin) Config() any func (p *Plugin) Handler(next http.Handler) http.Handler func (p *Plugin) Init() error func (p *Plugin) PostInit() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { I float64 `json:"i"` S string `json:"s,omitempty"` T []any `json:"t,omitempty"` IP string `json:"ip,omitempty"` Port int `json:"port,omitempty"` } type Plugin ¶ type Plugin struct { base.BasePlugin // contains filtered or unexported fields } func (*Plugin) Config ¶ func (p *Plugin) Config() any func (*Plugin) Handler ¶ func (p *Plugin) Handler(next http.Handler) http.Handler func (*Plugin) Init ¶ func (p *Plugin) Init() error func (*Plugin) PostInit ¶ func (p *Plugin) PostInit() error Source Files ¶ View all Source files plugin.go Click to show internal directories. Click to hide internal directories.