Documentation ¶
Index ¶
- Constants
- func StartUp(Version, LoadFileType string)
- type RuleRegistry
- type RuleState
- type Server
- func (t *Server) CreatePlugin(arg *common.PluginDesc, reply *string) error
- func (t *Server) CreateQuery(sql string, reply *string) error
- func (t *Server) CreateRule(rule *common.RuleDesc, reply *string) error
- func (t *Server) DescPlugin(arg *common.PluginDesc, reply *string) error
- func (t *Server) DescRule(name string, reply *string) error
- func (t *Server) DropPlugin(arg *common.PluginDesc, reply *string) error
- func (t *Server) DropRule(name string, reply *string) error
- func (t *Server) GetQueryResult(qid string, reply *string) error
- func (t *Server) GetStatusRule(name string, reply *string) error
- func (t *Server) GetTopoRule(name string, reply *string) error
- func (t *Server) RestartRule(name string, reply *string) error
- func (t *Server) ShowPlugins(arg int, reply *string) error
- func (t *Server) ShowRules(_ int, reply *string) error
- func (t *Server) StartRule(name string, reply *string) error
- func (t *Server) StopRule(name string, reply *string) error
- func (t *Server) Stream(stream string, reply *string) error
Constants ¶
View Source
const ( ContentType = "Content-Type" ContentTypeJSON = "application/json" )
View Source
const QUERY_RULE_ID = "internal-xstream_query_rule"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RuleRegistry ¶
func (*RuleRegistry) Delete ¶
func (rr *RuleRegistry) Delete(key string) (*RuleState, bool)
Atomic get and delete
func (*RuleRegistry) Store ¶
func (rr *RuleRegistry) Store(key string, value *RuleState)
type Server ¶
type Server int
func (*Server) CreatePlugin ¶
func (t *Server) CreatePlugin(arg *common.PluginDesc, reply *string) error
func (*Server) DescPlugin ¶
func (t *Server) DescPlugin(arg *common.PluginDesc, reply *string) error
func (*Server) DropPlugin ¶
func (t *Server) DropPlugin(arg *common.PluginDesc, reply *string) error
Click to show internal directories.
Click to hide internal directories.