health

package
v1.57.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Unlicense Imports: 5 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HTTPModule for fx.
	// nolint:gochecknoglobals
	HTTPModule = fx.Options(fx.Invoke(http.Register))

	// GRPCModule for fx.
	// nolint:gochecknoglobals
	GRPCModule = fx.Options(fx.Invoke(grpc.Register))

	// ServerModule for fx.
	// nolint:gochecknoglobals
	ServerModule = fx.Options(fx.Provide(NewServer))
)

Functions

func NewServer

func NewServer(lc fx.Lifecycle, regs Registrations) *server.Server

NewServer for health.

Types

type Registrations

type Registrations = []*server.Registration

Registrations for health.

Directories

Path Synopsis
transport

Jump to

Keyboard shortcuts

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