consul

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() *api.Config

Types

type Service

type Service struct {
}

func (Service) Start

func (Service) Start(wg *sync.WaitGroup)

type ServiceNode

type ServiceNode struct {
	ServiceName string
	Address     string
	Port        string
	Status      string
	Protocol    string
}

func GetNode

func GetNode(serviceName string) (node ServiceNode, err error)

type ServiceNodes

type ServiceNodes struct {
	// contains filtered or unexported fields
}

type Services

type Services struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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