etcd

package module
v3.8.3 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package etcd provides an etcd service register

Index

Constants

This section is empty.

Variables

View Source
var DefaultPrefix = "/micro/register/"

Functions

func Auth

func Auth(username, password string) register.Option

Auth allows you to specify username/password

func LogConfig

func LogConfig(config *zap.Config) register.Option

LogConfig allows you to set etcd log config

func NewRegister

func NewRegister(opts ...register.Option) *etcdRegister

NewRegister returns an initialized etcd register

Types

This section is empty.

Jump to

Keyboard shortcuts

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