webservers

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 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) (*webtools.Server, error)

func NewMetricServer

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

func NewPProfServer

func NewPProfServer(cfg PProfConfig) (*webtools.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