cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context) error

Run. Main entry point

Types

type Backup

type Backup struct {
	Cfg *config.BackupConfig
	DB  store.Storer
}

func (*Backup) Serv

func (b *Backup) Serv(ctx context.Context)

Serv. Run backup service.

type Server

type Server struct {
	Cfg *config.ServerConfig
	FS  *afs.AFS
	DB  store.Storer
	H   crypto.Hasher
	// contains filtered or unexported fields
}

func (*Server) Serv

func (s *Server) Serv(ctx context.Context)

Serv. Run rest service.

Jump to

Keyboard shortcuts

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