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 New ¶
func New(config MessageTransferConfig) MessageTransfer
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"`
}
Click to show internal directories.
Click to hide internal directories.