server

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: Apache-2.0 Imports: 12 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 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)

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

Jump to

Keyboard shortcuts

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