instance_manager

package
v0.0.0-...-e37bcbf Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployNewNode

func DeployNewNode() net.IPAddr

func WithdrawNode

func WithdrawNode(ip net.IPAddr)

Types

type InstancesMasterConfig

type InstancesMasterConfig interface {
	GetInstancesMasterIpAddress() net.IPAddr
	GetInstancesMasterPort() string
}

type Request

type Request struct {
	// contains filtered or unexported fields
}

func (Request) GetEndpointName

func (r Request) GetEndpointName() string

func (Request) GetIpdAddress

func (r Request) GetIpdAddress() net.IPAddr

func (Request) GetMethod

func (r Request) GetMethod() string

func (Request) GetPayload

func (r Request) GetPayload() string

type Response

type Response struct {
	IpAddress string `json:"ip_address"`
}

func (Response) GetIpAddress

func (r Response) GetIpAddress() net.IPAddr

Jump to

Keyboard shortcuts

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