eureka

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocalIP

func GetLocalIP() (string, error)

Types

type Client

type Client struct {
	HealthCheckUrl string
	StatusPageUrl  string
	HomePageUrl    string
	// contains filtered or unexported fields
}

func New

func New() *Client

func (*Client) Default

func (c *Client) Default(port int, homePage string) *Client

func (*Client) DefaultWithLogger

func (c *Client) DefaultWithLogger(port int, homePage string, logger log.Logger) *Client

func (*Client) Register

func (c *Client) Register(eurekaHost, serviceName string) (*eureka.Registrar, error)

Jump to

Keyboard shortcuts

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