pool

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigGetter

type ConfigGetter interface {
	Get(name string) List
}

type List

type List []string

func (List) Pool

func (v List) Pool() (*url.URL, error)

type Pool

type Pool struct {
	Items map[string][]string `yaml:"services" json:"services"`
}

func (*Pool) Get

func (c *Pool) Get(name string) List

type PoolGetter

type PoolGetter interface {
	Pool() (*url.URL, error)
}

Jump to

Keyboard shortcuts

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