servers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLivenessServer

func NewLivenessServer(cfg LivenessConfig) (*httputils.Server, error)

func NewMetricServer

func NewMetricServer(cfg MetricsConfig) (*httputils.Server, error)

func NewPProfServer

func NewPProfServer(cfg PProfConfig) (*httputils.Server, error)

Types

type LivenessConfig

type LivenessConfig struct {
	LivenessPort string `mapstructure:"liveness_port"`
}

type MetricsConfig

type MetricsConfig struct {
	Port string `mapstructure:"port"`
}

type PProfConfig

type PProfConfig struct {
	Port string `mapstructure:"port"`
}

Jump to

Keyboard shortcuts

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