register

package
v0.0.0-...-f111513 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulRegister

type ConsulRegister struct {
	Target string
	Ttl    int
}

func NewConsulRegister

func NewConsulRegister(target string, ttl int) *ConsulRegister

func (*ConsulRegister) DeRegister

func (cr *ConsulRegister) DeRegister(info discovery.RegisterInfo) error

func (*ConsulRegister) Register

func (cr *ConsulRegister) Register(info discovery.RegisterInfo) error

Jump to

Keyboard shortcuts

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