options

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AddressKey     = "address"
	HealthCheckKey = "healthCheck"
	MetricsPortKey = "metricsPort"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options interface {
	GetValue(key string) (any, bool)
}

func Address

func Address(addr string) Options

func DefaultMetrics

func DefaultMetrics() Options

func EnableHealthCheck

func EnableHealthCheck() Options

func Metrics

func Metrics(port int) Options

Jump to

Keyboard shortcuts

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