Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInterface ¶
type ClientInterface interface {
IsConnected() bool
SendHeartbeat() error
GetConfig() *types.Config
GetClientID() string
}
ClientInterface defines the interface that relay client must implement
type ConfigInterface ¶
type ConfigInterface interface {
GetRelayHost() string
GetRelayPort() int
GetRelayTimeout() time.Duration
GetTLSEnabled() bool
GetTLSMinVersion() string
GetTLSVerifyCert() bool
GetTLSCACert() string
GetTLSClientCert() string
GetTLSClientKey() string
GetTLSServerName() string
GetAuthType() string
GetAuthSecret() string
GetRateLimitingEnabled() bool
GetRateLimitingMaxRetries() int
GetRateLimitingBackoffMultiplier() float64
GetRateLimitingMaxBackoff() time.Duration
}
ConfigInterface defines the interface for configuration
Click to show internal directories.
Click to hide internal directories.