iremote

package
v0.0.0-...-9bd2c4f Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ICardMessage

type ICardMessage interface {
	Cluster() string
	Type() MsgType
	IDigest
	Digest() IDigest
	Update(IDigest)
}

From() and To() are not mandatory for Case

type ICollaboratable

type ICollaboratable interface {
	SyncDistribute(sources []*task.Task) ([]*task.Task, error)
}

type IDigest

type IDigest interface {
	GetCards() map[string]*card.Card
	GetTimeStamp() int64
	SetCards(map[string]*card.Card)
	SetTimeStamp(int64)
}

type IParameterizable

type IParameterizable interface {
	SerializeToJSON() string
	Validate() bool
}

type MsgType

type MsgType string
var (
	MsgTypeSync MsgType = MsgType("SYNC")
	MsgTypeAck  MsgType = MsgType("ACK")
	MsgTypeAck2 MsgType = MsgType("ACK2")
	MsgTypeAck3 MsgType = MsgType("ACK3")
)

Jump to

Keyboard shortcuts

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