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

Documentation

Index

Constants

View Source
const (
	DataTransferHandlerName = "dataTransfer"
	UpdateTopic             = "podData/update"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataTransfer

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

func New

func New(config DataTransferConfig) DataTransfer

func (*DataTransfer) HandlerName

func (DataTransfer *DataTransfer) HandlerName() string

func (*DataTransfer) Run

func (dataTransfer *DataTransfer) Run()

func (*DataTransfer) Update

func (dataTransfer *DataTransfer) Update(update models.Update)

func (*DataTransfer) UpdateMessage

func (dataTransfer *DataTransfer) UpdateMessage(client wsModels.Client, msg wsModels.Message)

type DataTransferConfig

type DataTransferConfig struct {
	Fps    uint
	Topics DataTransferTopics
}

type DataTransferTopics

type DataTransferTopics struct {
	Update string
}

type UpdateSubscription

type UpdateSubscription = bool

Jump to

Keyboard shortcuts

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