coldsync

package
v0.3.26 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 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
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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