config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

func New

func New(getter kv.Getter) Config

type EndpointsConfig

type EndpointsConfig struct {
	Endpoints map[string]string
}

type EndpointsConfiger

type EndpointsConfiger interface {
	EndpointsConfig() *EndpointsConfig
}

func NewEndpointConfiger

func NewEndpointConfiger(getter kv.Getter) EndpointsConfiger

type RawEndpointsConfig

type RawEndpointsConfig struct {
	Docker    bool                `fig:"docker"`
	Endpoints []rawEndpointConfig `fig:"services"`
}

Jump to

Keyboard shortcuts

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