health

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Unlicense Imports: 5 Imported by: 11

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, error)

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