Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeCompact ¶
func EncodeJSON ¶
Types ¶
type Payload ¶
type Payload struct {
Namespace string `json:"n"`
Action string `json:"a"`
Data map[string]any `json:"d,omitempty"`
}
func DecodeCompact ¶
func DecodeJSON ¶
Click to show internal directories.
Click to hide internal directories.