consul

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConsulClient *api.Client

Functions

func BootstrapConsul

func BootstrapConsul() error

func ConsulStoreDelete

func ConsulStoreDelete(keyPath string) error

func ConsulStoreGet

func ConsulStoreGet(key string) ([]byte, error)

func ConsulStoreListKeys

func ConsulStoreListKeys(path string, recursive bool) ([]string, error)

func ConsulStorePut

func ConsulStorePut(keyPath, jsonData string) error

func InitConsul

func InitConsul(consulAddress string) error

Types

type IteratorStatus

type IteratorStatus struct {
	Status string `json:"iterator_status"`
}

Jump to

Keyboard shortcuts

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