Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConnectionTransferHandlerName = "connectionTransfer" UpdateTopic = "connection/update" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type ConnectionSubscription ¶
type ConnectionSubscription = bool
type ConnectionTransfer ¶
type ConnectionTransfer struct {
// contains filtered or unexported fields
}
func New ¶
func New(config ConnectionTransferConfig) ConnectionTransfer
func (*ConnectionTransfer) HandlerName ¶
func (connectionTransfer *ConnectionTransfer) HandlerName() string
func (*ConnectionTransfer) Update ¶
func (connectionTransfer *ConnectionTransfer) Update(name string, IsConnected bool)
func (*ConnectionTransfer) UpdateMessage ¶
func (connectionTransfer *ConnectionTransfer) UpdateMessage(client wsModels.Client, msg wsModels.Message)
type ConnectionTransferConfig ¶
type ConnectionTransferConfig struct {
UpdateTopic string `toml:"update_topic"`
}
Click to show internal directories.
Click to hide internal directories.