Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateSendTime ¶
CalculateSendTime calculates the next epoch at which a message should be sent.
Types ¶
type DataSync ¶
type DataSync struct { *datasyncnode.Node // DataSyncNodeTransport is the implementation of the datasync transport interface. *DataSyncNodeTransport // contains filtered or unexported fields }
func New ¶
func New(node *datasyncnode.Node, transport *DataSyncNodeTransport, sendingEnabled bool, logger *zap.Logger) *DataSync
type DataSyncNodeTransport ¶
type DataSyncNodeTransport struct {
// contains filtered or unexported fields
}
func NewDataSyncNodeTransport ¶
func NewDataSyncNodeTransport() *DataSyncNodeTransport
func (*DataSyncNodeTransport) AddPacket ¶
func (t *DataSyncNodeTransport) AddPacket(p transport.Packet)
func (*DataSyncNodeTransport) Watch ¶
func (t *DataSyncNodeTransport) Watch() transport.Packet
Click to show internal directories.
Click to hide internal directories.