schema

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 2 Imported by: 3

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 IServiceDiscoveryServer interface {
	GetVersion() string
	GetResponse() json.RawMessage
	GetCachedResponse() ([]byte, bool)
	CacheResponse([]byte)
}

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

Jump to

Keyboard shortcuts

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