consul

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

README

ginny-consul

consul provider for ginny.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(New, NewOptions)

Functions

func NewOptions

func NewOptions(v *viper.Viper) (*consulApi.Config, error)

NewOptions

Types

type Client

type Client struct {
	Config *consulApi.Config
	Client *consulApi.Client
}

Client

func New

func New(o *consulApi.Config, logger *zap.Logger) (*Client, error)

New

Jump to

Keyboard shortcuts

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