server

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActiveTopicsHandler added in v1.1.6

func ActiveTopicsHandler(ctx context.Context, pubSub *gochannel.GoChannel) func(w http.ResponseWriter, r *http.Request)

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 RulesHandler(pubSub *gochannel.GoChannel) func(w http.ResponseWriter, r *http.Request)

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"`
}

Jump to

Keyboard shortcuts

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