api

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: GPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRuleHandle

func AddRuleHandle(ip core.Input, oo core.Output, schema core.Schema) func(http.ResponseWriter, *http.Request)

func DelRuleHandle

func DelRuleHandle(ip core.Input, oo core.Output, schema core.Schema) func(http.ResponseWriter, *http.Request)

A DelRuleHandle for delete rule handle.

func FullSync added in v0.3.7

func FullSync(ip core.Input, oo core.Output, ruleMap map[string]interface{}, s core.Schema) (e error, fullRows int)

func GetConfigHandle added in v0.6.1

func GetConfigHandle(conf *config.BaseConfig, oo core.Output) func(http.ResponseWriter, *http.Request)

func GetRuleHandle

func GetRuleHandle(oo core.Output) func(http.ResponseWriter, *http.Request)

func PauseHandle added in v0.3.7

func PauseHandle(oo core.Output) func(http.ResponseWriter, *http.Request)

func ResumeHandle added in v0.3.7

func ResumeHandle(oo core.Output) func(http.ResponseWriter, *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL