Documentation
¶
Index ¶
- func AddProxy(proxy map[string]interface{}) (string, error)
- func AddRule(rule dbTypes.RuleCfg) (string, error)
- func DeleteProxy(id string) error
- func DeleteRule(id string) error
- func GetProxies() ([]map[string]interface{}, error)
- func GetProxy(id string) (map[string]interface{}, error)
- func GetRules() ([]dbTypes.RuleCfg, error)
- func GetSelectedId(bucket string) (string, error)
- func GetSelectedProxy() (map[string]interface{}, error)
- func GetSelectedRule() (*dbTypes.RuleCfg, error)
- func GetSetting() (*dbTypes.SettingCfg, error)
- func SetSelectedId(bucket, id string) error
- func SetSetting(data dbTypes.SettingCfg) error
- func UpdateProxy(id string, proxy map[string]interface{}) error
- func UpdateRule(id string, rule dbTypes.RuleCfg) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteProxy ¶
func DeleteRule ¶
func GetProxies ¶
func GetSelectedId ¶
func GetSelectedProxy ¶
func GetSelectedRule ¶
func GetSetting ¶
func GetSetting() (*dbTypes.SettingCfg, error)
func SetSelectedId ¶
func SetSetting ¶
func SetSetting(data dbTypes.SettingCfg) error
func UpdateProxy ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.