Documentation
¶
Index ¶
- func CloseCoreClient() error
- func EnsureRelayConnections() error
- func GetAppRelays() []string
- func GetCoreClient() *core.Client
- func GetCoreClientStatus() map[string]interface{}
- func InitializeCoreClient(serverCfg *cfgType.ServerConfig) error
- func IsCoreClientInitialized() bool
- func ReinitializeCoreClient() error
- func SetAppRelays(relays []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseCoreClient ¶
func CloseCoreClient() error
CloseCoreClient closes the core client connections
func EnsureRelayConnections ¶
func EnsureRelayConnections() error
EnsureRelayConnections checks and reconnects to relays if needed
func GetAppRelays ¶
func GetAppRelays() []string
GetAppRelays returns the configured application relays
func GetCoreClient ¶
GetCoreClient returns the core client instance
func GetCoreClientStatus ¶
func GetCoreClientStatus() map[string]interface{}
GetCoreClientStatus returns status information about the core client
func InitializeCoreClient ¶
func InitializeCoreClient(serverCfg *cfgType.ServerConfig) error
InitializeCoreClient sets up the global core client with server configuration
func IsCoreClientInitialized ¶
func IsCoreClientInitialized() bool
IsCoreClientInitialized checks if the core client is properly initialized
func ReinitializeCoreClient ¶
func ReinitializeCoreClient() error
ReinitializeCoreClient reinitializes the core client (for recovery)
func SetAppRelays ¶
func SetAppRelays(relays []string)
SetAppRelays sets the application relays for initial discovery
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.