Versions in this module Expand all Collapse all v1 v1.0.1 Feb 20, 2024 Changes in this version + const APICasaOSNotify + const APICasaOSShare + const APIGatewayPort + const APIGatewayRoutes + const APIMessageBus + const CasaOSURLFilename + const ManagementURLFilename + const MessageBusAddressFilename + const StaticURLFilename + const UserServiceAddressFilename + func GetMessageBusAddress(runtimePath string) (string, error) + func GetPublicKey(runtimePath string) (*ecdsa.PublicKey, error) + func PrintEventTypesAsMarkdown(sourceID, version string, eventTypes []EventType) + type EventType struct + Name string + PropertyTypeList []PropertyType + SourceID string + type GPUInfo struct + MemoryFree int + MemoryTotal int + MemoryUsed int + Name string + TemperatureGPU int + func GPUInfoList() ([]GPUInfo, error) + type ManagementService interface + ChangePort func(request *model.ChangePortRequest) error + CreateRoute func(route *model.Route) error + GetPort func() (error, string) + func NewManagementService(RuntimePath string) (ManagementService, error) + type NotifyService interface + SendNotify func(path string, message interface{}) error + SendSystemStatusNotify func(message map[string]interface{}) error + func NewNotifyService(runtimePath string) NotifyService + type NvidiaGPUInfo struct + DisplayActive bool + DisplayMode bool + DriverVersion string + GPUSerial string + Index int + MemoryFree int + MemoryTotal int + MemoryUsed int + Name string + TemperatureGPU int + UUID string + UtilizationGPU int + func NvidiaGPUInfoList() ([]NvidiaGPUInfo, error) + type PropertyType struct + Description *string + Example *string + Name string + type ShareService interface + DeleteShare func(id string) error + func NewShareService(runtimePath string) ShareService