admin

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricsNamespace = "fivenet"
)

Variables

View Source
var Module = fx.Module("metricsserver",
	fx.Provide(
		NewServer,
	),
	fx.Decorate(wrapLogger),
)

Functions

This section is empty.

Types

type AdminServer

type AdminServer *http.Server

type Params

type Params struct {
	fx.In

	LC fx.Lifecycle

	Logger *zap.Logger
	Config *config.Config
}

type Result

type Result struct {
	fx.Out

	Server AdminServer
}

func NewServer

func NewServer(p Params) (Result, error)

Jump to

Keyboard shortcuts

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