daemon

package
v0.0.0-...-a2be96e Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func NewDB

func NewDB(db *leveldb.DB) *DB

func (*DB) LoadApps

func (db *DB) LoadApps() (core.Apps, error)

func (*DB) SaveApp

func (db *DB) SaveApp(app *core.Application) error

type Handler

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

func NewHandler

func NewHandler(db *leveldb.DB, client *cli.ServerClient) (*Handler, error)

func (*Handler) ChangePriority

func (*Handler) GetApp

func (*Handler) GetApps

func (*Handler) GetBranches

func (*Handler) GetTasks

func (*Handler) InstallApp

func (*Handler) InstallInfo

func (*Handler) Launch

func (*Handler) Pause

func (*Handler) RecoverTasks

func (*Handler) Resume

func (*Handler) SetAutoUpdate

func (*Handler) Subscribe

func (*Handler) SwitchBranch

func (*Handler) UninstallApp

func (*Handler) UpdateApp

func (*Handler) VerifyApp

type Listener

type Listener chan interface{}

func (Listener) Notify

func (l Listener) Notify(event interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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