client

package
v0.0.0-...-4c6b7b1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2017 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() (port int, err error)

func Register

func Register(name string, port int) (err error)

Registers the service on the local ledger and all others

Types

type RegistryRequest

type RegistryRequest struct {
	Name string `json:"name"`
	Port int    `json:"port"`
}

Jump to

Keyboard shortcuts

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