ssemodels

package
v0.3.11-rc4 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSEBase

type SSEBase struct {
	Event SseType `json:"event"`
}

type SseMessage

type SseMessage struct {
	SSEBase
	Data interface{} `json:"data"`
}

type SseType

type SseType string
const (
	SseType_Unknown              SseType = "unknown"
	SseType_Time                 SseType = "time"
	SseType_Cluster_Created      SseType = "cluster.created"
	SseType_ClusterOrder_Updated SseType = "clusterOrder.updated"
)

type Time

type Time struct {
	SSEBase
	CurrentTime time.Time `json:"currentTime"`
}

Jump to

Keyboard shortcuts

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