eureka

package
v0.0.0-...-46d7da7 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(client Client, interval time.Duration) model.Controller

NewController instantiates a new Eureka controller

func NewServiceAccounts

func NewServiceAccounts() model.ServiceAccounts

NewServiceAccounts instantiates the Eureka service account interface

func NewServiceDiscovery

func NewServiceDiscovery(client Client) model.ServiceDiscovery

NewServiceDiscovery instantiates an implementation of service discovery for Eureka

Types

type Client

type Client interface {
	// Applications registered on the Eureka server
	Applications() ([]*application, error)
}

Client for Eureka

func NewClient

func NewClient(url string) Client

NewClient instantiates a new Eureka client

Jump to

Keyboard shortcuts

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