message_transfer

package
v0.0.0-...-0b3c072 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MessageTransferHandlerName = "messageTransfer"
	UpdateTopic                = "message/update"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageSubscription

type MessageSubscription = bool

type MessageTransfer

type MessageTransfer struct {
	// contains filtered or unexported fields
}

func (*MessageTransfer) HandlerName

func (messageTransfer *MessageTransfer) HandlerName() string

func (*MessageTransfer) SendMessage

func (messageTransfer *MessageTransfer) SendMessage(message any) error

func (*MessageTransfer) UpdateMessage

func (messageTransfer *MessageTransfer) UpdateMessage(client wsModels.Client, msg wsModels.Message)

type MessageTransferConfig

type MessageTransferConfig struct {
	UpdateTopic string `toml:"update_topic"`
}

Jump to

Keyboard shortcuts

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