consulx

package
v0.0.0-...-3de5202 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Provider = wire.NewSet(
	NewClients,
)

Functions

func NewClient

func NewClient(config *Config) (*api.Client, error)

func NewClients

func NewClients(configs Configs) (map[string]*api.Client, error)

Types

type Config

type Config struct {
	Address string `mapstructure:"address" json:"address" yaml:"address"`
}

type Configs

type Configs map[string]*Config

Jump to

Keyboard shortcuts

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