health

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

	// ServerModule for fx.
	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