Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonKV ¶
type JsonKV struct {
Key *json.RawMessage `json:"k"`
Value *json.RawMessage `json:"v"`
EndOfTransfer bool `json:"EOT"`
}
type SyncInitInfo ¶
type SyncInitInfo struct {
// Format of data. Can be `json` or `binary`.
Format string `json:"format"`
// DoDelete makes the sync delete unseen keys. No deletions if false (the default case).
DoDelete bool `json:"doDelete"`
// Token for authn
Token string `json:"token"`
// Topic target topic if not default
Topic string `json:"topic"`
}
type SyncResult ¶
type SyncResult struct {
OK bool `json:"ok"`
}
Click to show internal directories.
Click to hide internal directories.