consul

package module
v0.0.0-...-f1246e0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulConfig

type ConsulConfig struct {
	sync.RWMutex

	Address string
	Token   string
	SSL     bool
	// contains filtered or unexported fields
}

func (*ConsulConfig) CreateClient

func (c *ConsulConfig) CreateClient() (*api.Client, error)

func (*ConsulConfig) GetClient

func (c *ConsulConfig) GetClient() (api.Client, error)

func (*ConsulConfig) Merge

func (c *ConsulConfig) Merge(other *ConsulConfig) error

func (*ConsulConfig) RegisterFlags

func (c *ConsulConfig) RegisterFlags(f *flag.FlagSet)

Jump to

Keyboard shortcuts

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