probe

package
v0.7.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGrpcRouter

func GetGrpcRouter(character string) func(ctx context.Context) (*ProbeResponse, error)

func GetRouter

func GetRouter() func(writer http.ResponseWriter, request *http.Request)

func RegisterBuiltin

func RegisterBuiltin(characterType string) error

func SetMiddleware

func SetMiddleware(next http.HandlerFunc) http.HandlerFunc

Types

type RequestMeta

type RequestMeta struct {
	Operation string            `json:"operation"`
	Metadata  map[string]string `json:"metadata"`
}

Jump to

Keyboard shortcuts

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