coldsync

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const CName = "node.nodesync.coldsync"

Variables

View Source
var (
	ErrSpaceExistsLocally = errors.New("space exists locally")
	ErrRemoteSpaceLocked  = errors.New("remote space locked")
)

Functions

This section is empty.

Types

type ColdSync

type ColdSync interface {
	Sync(ctx context.Context, spaceId string, peerId string) (err error)
	ColdSyncHandle(req *nodesyncproto.ColdSyncRequest, stream nodesyncproto.DRPCNodeSync_ColdSyncStream) error
	app.Component
}

func New

func New() ColdSync

Directories

Path Synopsis
Package mock_coldsync is a generated GoMock package.
Package mock_coldsync is a generated GoMock package.

Jump to

Keyboard shortcuts

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