connection_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: 6 Imported by: 0

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 Connection struct {
	Name        string `json:"name"`
	IsConnected bool   `json:"isConnected"`
}

type ConnectionSubscription

type ConnectionSubscription = bool

type ConnectionTransfer

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

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"`
}

Jump to

Keyboard shortcuts

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