handler

package
v0.0.0-...-fb1a1ec Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatusHandler

func NewStatusHandler(services []string) status.StatusHandler

NewStatusHandler returns a status handler configured to report the status of the given services

Types

type Status

type Status struct {
	// contains filtered or unexported fields
}

func (*Status) Call

func (e *Status) Call(ctx context.Context, req *api.Request, rsp *api.Response) error

Call is called by the API as /status/call with post body {"name": "foo"}

Jump to

Keyboard shortcuts

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