Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBackendServices ¶
type IBackendServices interface {
SetReportReceiverHttpUrl(string)
// deprecated - use v1 or v2
SetReportReceiverWebsocketUrl(string)
// deprecated - use v1 or v2
SetGatewayUrl(string)
SetApiServerUrl(string)
SetStorageUrl(string)
SetMetricsUrl(string)
SetSynchronizerUrl(string)
GetReportReceiverHttpUrl() string
// deprecated - use v1 or v2
GetReportReceiverWebsocketUrl() string
// deprecated - use v1 or v2
GetGatewayUrl() string
GetApiServerUrl() string
GetMetricsUrl() string
GetSynchronizerUrl() string
GetStorageUrl() string
}
type IServiceDiscoveryClient ¶
type IServiceDiscoveryClient interface {
IServiceDiscoveryServiceGetter
GetHost() string
GetScheme() string
GetPath() string
GetServiceDiscoveryUrl() string
}
type IServiceDiscoveryServer ¶
type IServiceDiscoveryServiceGetter ¶
type IServiceDiscoveryServiceGetter interface {
Get() (io.Reader, error)
ParseResponse(json.RawMessage) (IBackendServices, error)
}
type ServiceDiscoveryResponse ¶
type ServiceDiscoveryResponse struct {
Version string `json:"version"`
Response json.RawMessage `json:"response"`
}
ServiceDiscoveryResponse is the response object that should be returned from the service discovery server
Click to show internal directories.
Click to hide internal directories.