consul

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConsulClient

func NewConsulClient(registryConfig types.Config) (*consulClient, error)

Create new Consul Client. Service details are optional, not needed just for configuration, but required if registering

Types

type MockConsul

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

func NewMockConsul

func NewMockConsul() *MockConsul

func (*MockConsul) Start

func (mock *MockConsul) Start() *httptest.Server

Jump to

Keyboard shortcuts

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