http

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHandler

func MakeHandler(tracer opentracing.Tracer, svc rules.Service, logger log.Logger) http.Handler

MakeHandler returns a HTTP handler for Rule API endpoints.

Types

type RulesPageRes

type RulesPageRes struct {
	Rules []ruleResponse `json:"rules"`
	// contains filtered or unexported fields
}

func (RulesPageRes) Code

func (res RulesPageRes) Code() int

func (RulesPageRes) Empty

func (res RulesPageRes) Empty() bool

func (RulesPageRes) Headers

func (res RulesPageRes) Headers() map[string]string

Jump to

Keyboard shortcuts

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