utils

package
v0.0.0-...-373809e Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VulcandUpsertBackend

func VulcandUpsertBackend(bid string)

func VulcandUpsertFrontend

func VulcandUpsertFrontend(fid string, path string, bid string)

func VulcandUpsertListener

func VulcandUpsertListener(lid string, scope string, addr string)

Types

type VulcandClient

type VulcandClient struct {
	Addr      string
	Version   string
	BackendId string
	ServerId  string
	ServerURL string
	TTL       time.Duration
}

func NewVulcandClient

func NewVulcandClient(bid string, port string, ttl time.Duration) *VulcandClient

func (*VulcandClient) KeepAlive

func (vc *VulcandClient) KeepAlive()

Jump to

Keyboard shortcuts

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