message

package
v0.0.0-...-e37d69e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PublishWrapper

type PublishWrapper struct {
	Action      SdkAction `json:"action,omitempty"`
	MessageType string    `json:"messageType,omitempty"`
	Content     []byte    `json:"content,omitempty"`
}

type SdkAction

type SdkAction string
const (
	ActionCreate    SdkAction = "create"
	ActionMutate    SdkAction = "mutate"
	ActionTransit   SdkAction = "transit"
	ActionPublish   SdkAction = "publish"
	ActionBroadcast SdkAction = "broadcast"
	ActionEndStream SdkAction = "end-stream"
)

type SubscribeWrapper

type SubscribeWrapper struct {
	Action      SdkAction `json:"action,omitempty"`
	MessageType string    `json:"messageType,omitempty"`
	Content     []byte    `json:"content,omitempty"`
}

Jump to

Keyboard shortcuts

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