synchronizer

package
v0.0.0-...-e0f8732 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sync

type Sync struct {
	// contains filtered or unexported fields
}

func NewSync

func NewSync(root, apiURL string) *Sync

func (*Sync) Run

func (s *Sync) Run(label string) (string, error)

func (*Sync) SetLabel

func (s *Sync) SetLabel(label, hash string) error

func (*Sync) UploadDistro

func (s *Sync) UploadDistro(hashes map[string]string) (string, error)

func (*Sync) UploadFile

func (s *Sync) UploadFile(path, content string) (string, error)

Jump to

Keyboard shortcuts

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