Documentation
¶
Index ¶
- func ActiveTopicsHandler(ctx context.Context, pubSub *gochannel.GoChannel) func(w http.ResponseWriter, r *http.Request)
- func CurrentConfigHandler(confManager config.ConfManager) func(w http.ResponseWriter, r *http.Request)
- func GetUploadConfigHandler(confManager config.ConfManager) func(w http.ResponseWriter, r *http.Request)
- func LogConfigHandler() func(w http.ResponseWriter, r *http.Request)
- func RulesHandler(pubSub *gochannel.GoChannel) func(w http.ResponseWriter, r *http.Request)
- func UploadConfigHandler(confManager config.ConfManager) func(w http.ResponseWriter, r *http.Request)
- type ActiveTopicsResponse
- type LogConfigRequest
- type RulesRequest
- type UploadStatusRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActiveTopicsHandler ¶ added in v1.1.6
func CurrentConfigHandler ¶ added in v1.1.8
func CurrentConfigHandler(confManager config.ConfManager) func(w http.ResponseWriter, r *http.Request)
func GetUploadConfigHandler ¶ added in v1.1.9
func GetUploadConfigHandler(confManager config.ConfManager) func(w http.ResponseWriter, r *http.Request)
func LogConfigHandler ¶ added in v1.1.4
func LogConfigHandler() func(w http.ResponseWriter, r *http.Request)
func RulesHandler ¶
func UploadConfigHandler ¶ added in v1.1.9
func UploadConfigHandler(confManager config.ConfManager) func(w http.ResponseWriter, r *http.Request)
Types ¶
type ActiveTopicsResponse ¶ added in v1.1.6
type ActiveTopicsResponse struct {
Topics []string `json:"topics"`
}
type LogConfigRequest ¶ added in v1.1.4
type LogConfigRequest struct {
Level string `json:"level"`
}
type RulesRequest ¶
type RulesRequest struct {
Messages []rule_engine.RuleItem `json:"messages"`
}
type UploadStatusRequest ¶ added in v1.1.9
type UploadStatusRequest struct {
Disabled bool `json:"disabled"`
}
Click to show internal directories.
Click to hide internal directories.