client

package
v0.0.0-...-74183db Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Eureka

type Eureka interface {
	GetAllApps() (*eureka.Applications, error)
	GetAppInstances(appName string) (*eureka.Application, error)
}

type EurekaClient

type EurekaClient struct {
	BaseUrl       string
	EurekaAPIPath string
	HttpClient    *http.Client
}

func (EurekaClient) GetAllApps

func (client EurekaClient) GetAllApps() (*eureka.Applications, error)

func (EurekaClient) GetAppInstances

func (client EurekaClient) GetAppInstances(appName string) (*eureka.Application, error)

Jump to

Keyboard shortcuts

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