dtaservice

package
v0.0.0-...-c7f0430 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppRegistrationBody

type AppRegistrationBody struct {
	Instance InstanceDetails `json:"instance"`
}

AppRegistrationBody carries the AppRegistration-instance details to be transmitted to EUREKA

type Application

type Application struct {
	App string `json:"application"`
}

type ApplicationDetails

type ApplicationDetails struct {
	Name     string          `json:"name"`
	Instance InstanceDetails `json:"instance"`
}

type DataCenterInfo

type DataCenterInfo struct {
	Class string `json:"@class"`
	Name  string `json:"name"`
}

DataCenterInfo carries a data center info. Used in particular with AWS services.

type EurekaRegistrationManager

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

EurekaRegistrationManager managers the registration with Eureka

type InstanceDetails

type InstanceDetails struct {
	HostName       string         `json:"hostName"`
	App            string         `json:"app"`
	DataCenterInfo DataCenterInfo `json:"dataCenterInfo"`
}

InstanceDetails carries the Instance details. To be used in AppRegistrationBody

type Port

type Port struct {
	Port    string `json:"$"`
	Enabled string `json:"@enabled"`
}

Port carries the Port specification. To be used in InstanceDetails

Jump to

Keyboard shortcuts

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