transfer

package
v0.1.98 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OriginPeriod added in v0.1.75

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

type RequestMessage added in v0.1.31

type RequestMessage struct {
	Command       string            `json:"command"`
	UUID          uuid.UUID         `json:"uuid"`
	PeriodStart   time.Time         `json:"period_start"`
	CountsPerUuid map[uuid.UUID]int `json:"counts_per_uuid,omitempty"` // map of raw_data uuids we got mapped_data for, the number is the number of data points we already have per raw_data uuid
}

type ResponseMessage added in v0.1.31

type ResponseMessage struct {
	Command     string    `json:"command"`
	UUID        uuid.UUID `json:"uuid"`
	PeriodStart time.Time `json:"period_start"`
	DataPoints  int       `json:"data_points"`
}

type TransferRequester added in v0.1.29

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

func NewTransferRequester added in v0.1.29

func NewTransferRequester(c *config.TransferConfig) *TransferRequester

func (*TransferRequester) Run added in v0.1.31

func (t *TransferRequester) Run()

type TransferResponder added in v0.1.29

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

func NewTransferResponder added in v0.1.29

func NewTransferResponder(c *config.TransferConfig) *TransferResponder

func (*TransferResponder) Run added in v0.1.31

func (t *TransferResponder) Run(publisher *nanomsg.Publisher[message.Mapped])

Jump to

Keyboard shortcuts

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