remote

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Remote

type Remote interface {
	// Push 将本地的store文件推送到远端
	Push(ctx context.Context) error

	// Pull 将远端的store文件拉取到本地
	Pull(ctx context.Context) error

	// Init 初始化remote
	Init(ctx context.Context) error
}

func NewRemote

func NewRemote(ctx context.Context) (Remote, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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