types

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const SYNC_SERVICE = "sync"

Variables

This section is empty.

Functions

This section is empty.

Types

type SyncProtocol

type SyncProtocol interface {
	Name() string
	EncodeFileName([]byte) string
	ValidIdentifier(string) bool
	HashFromIdentifier(string) ([]byte, error)
	StorageProtocol() core.StorageProtocol
}

type SyncService

type SyncService interface {
	Update(upload core.UploadMetadata) error
	LogKey() []byte
	Import(object string, uploaderID uint64) error
	Enabled() bool

	core.Service
}

Jump to

Keyboard shortcuts

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