handler

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 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