health

package
v1.76.22 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Unlicense Imports: 5 Imported by: 10

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 = 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