Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AntispamPlugin ¶
type AntispamPlugin struct {
Impl Antispam
}
func (*AntispamPlugin) Client ¶
func (p *AntispamPlugin) Client(broker *plugin.MuxBroker, c *rpc.Client) (interface{}, error)
func (*AntispamPlugin) Server ¶
func (p *AntispamPlugin) Server(broker *plugin.MuxBroker) (interface{}, error)
type AntispamRPC ¶
type AntispamRPC struct {
// contains filtered or unexported fields
}
func (*AntispamRPC) CheckForSpam ¶
func (*AntispamRPC) HandleConfig ¶
func (g *AntispamRPC) HandleConfig(config map[string]interface{}) error
type AntispamRPCServer ¶
type AntispamRPCServer struct {
Impl Antispam
}
func (*AntispamRPCServer) CheckForSpam ¶
func (s *AntispamRPCServer) CheckForSpam(args map[string]interface{}, resp *bool) error
func (*AntispamRPCServer) HandleConfig ¶
func (s *AntispamRPCServer) HandleConfig(args map[string]interface{}, resp *string) error
Click to show internal directories.
Click to hide internal directories.