Versions in this module Expand all Collapse all v1 v1.3.4 Feb 9, 2024 Changes in this version + type Antispam interface + CheckForSpam func(b64 string, filename string, contentType string, userId string, origin string, ...) (bool, error) + HandleConfig func(config map[string]interface{}) error + type AntispamPlugin struct + Impl Antispam + func (p *AntispamPlugin) Client(broker *plugin.MuxBroker, c *rpc.Client) (interface{}, error) + func (p *AntispamPlugin) Server(broker *plugin.MuxBroker) (interface{}, error) + type AntispamRPC struct + func (g *AntispamRPC) CheckForSpam(b64 string, filename string, contentType string, userId string, origin string, ...) (bool, error) + func (g *AntispamRPC) HandleConfig(config map[string]interface{}) error + type AntispamRPCServer struct + Impl Antispam + func (s *AntispamRPCServer) CheckForSpam(args map[string]interface{}, resp *bool) error + func (s *AntispamRPCServer) HandleConfig(args map[string]interface{}, resp *string) error