http

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 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 notifiers.Service, logger log.Logger) http.Handler

MakeHandler returns a HTTP handler for API endpoints.

Types

type NotifiersPageRes added in v0.23.0

type NotifiersPageRes struct {
	Notifiers []notifierResponse `json:"notifiers"`
	// contains filtered or unexported fields
}

func (NotifiersPageRes) Code added in v0.23.0

func (res NotifiersPageRes) Code() int

func (NotifiersPageRes) Empty added in v0.23.0

func (res NotifiersPageRes) Empty() bool

func (NotifiersPageRes) Headers added in v0.23.0

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

Jump to

Keyboard shortcuts

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