health

package
v1.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

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

	// ServerModule for fx.
	ServerModule = fx.Provide(NewServer)

	// Module for fx.
	Module = fx.Options(HTTPModule, GRPCModule, ServerModule)
)

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

Jump to

Keyboard shortcuts

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