Documentation
¶
Overview ¶
Package sync provides a way to synchronize items from a source to the server.
Index ¶
Constants ¶
View Source
const ( MetadataKeySyncID = "sync_id" MetadataKeySyncSource = "sync_source" )
View Source
const (
HeaderSyncID = "X-Sync-Id"
)
Variables ¶
View Source
var (
ErrUnexpectedStatusCode = errors.New("unexpected status code")
)
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID struct {
// contains filtered or unexported fields
}
func ParseSyncID ¶
type Syncer ¶
type Syncer struct {
// contains filtered or unexported fields
}
Syncer synchronizes items from a source to the server.
Click to show internal directories.
Click to hide internal directories.