handler

package
v0.0.0-...-1bd406c Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Endpoints

func Endpoints(req *server.Request) (proto.Message, errors.Error)

Endpoints returns all endpoints discovered (optionally matching a given service name), for all versions of the service Keep in mind that there can be upwards of a few thousand of these, so use this sparingly if you aren't supplying a service

func Instances

func Instances(req *server.Request) (proto.Message, errors.Error)

Instances returns instances, optionally just matching an AZ name

func MultiRegister

func MultiRegister(req *server.Request) (proto.Message, errors.Error)

MultiRegister registers a bunch of endpoints for a service in one hit

func Services

func Services(req *server.Request) (proto.Message, errors.Error)

Services returns a list of services running in the region

func Unregister

func Unregister(req *server.Request) (proto.Message, errors.Error)

Unregister removes a service from the discovery service

Types

This section is empty.

Jump to

Keyboard shortcuts

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