package
Version:
v0.0.0-...-2f48117
Opens a new window with list of versions in this module.
Published: Mar 8, 2023
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
AgentIdAnnotation = "onspaceship.com/agent-id"
)
const (
CloseEvent Event = "phx_close"
ErrorEvent Event = "phx_error"
JoinEvent Event = "phx_join"
ReplyEvent Event = "phx_reply"
LeaveEvent Event = "phx_leave"
)
type Message struct {
Topic string `json:"topic"`
Event Event `json:"event"`
Payload interface{} `json:"payload"`
Ref int64 `json:"ref"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.