package
Version:
v1.0.49
Opens a new window with list of versions in this module.
Published: Jan 27, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type SseMessage struct {
Id string `json:"id omitempty"`
Event SseType `json:"event"`
Data interface{} `json:"data"`
}
const (
SseType_Unknown SseType = "unknown"
SseType_Time SseType = "time"
SseType_Cluster_Created SseType = "cluster.created"
SseType_ClusterOrder_Updated SseType = "clusterOrder.updated"
)
type Time struct {
Event SseType `json:"event"`
CurrentTime time.Time `json:"currentTime"`
}
Deprecated: Use SseMessage instead, this is not a valid format
Source Files
¶
Click to show internal directories.
Click to hide internal directories.