Documentation ¶
Index ¶
- Variables
- func ImportModule() (*python.PyObject, error)
- func ModuleCheck() error
- type Rule
- type SourceEvents
- func (se *SourceEvents) AddQuery(query string) (*python.PyObject, error)
- func (se *SourceEvents) AddRule(rule Rule, meta any) (*python.PyObject, error)
- func (se *SourceEvents) DecRef()
- func (se *SourceEvents) Emit(count int) (*python.PyObject, error)
- func (se *SourceEvents) JsonDumps(o_doc *python.PyObject, sortKeys bool) (*python.PyObject, error)
- func (se *SourceEvents) Mappings() (*python.PyObject, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.2.0"
Functions ¶
func ImportModule ¶
func ModuleCheck ¶
func ModuleCheck() error
Types ¶
type Rule ¶ added in v0.2.0
type SourceEvents ¶
type SourceEvents struct {
// contains filtered or unexported fields
}
func NewSourceEvents ¶
func NewSourceEvents(schema schema.Schema) (*SourceEvents, error)
func (*SourceEvents) AddQuery ¶
func (se *SourceEvents) AddQuery(query string) (*python.PyObject, error)
func (*SourceEvents) DecRef ¶
func (se *SourceEvents) DecRef()
Click to show internal directories.
Click to hide internal directories.