minion

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EC_OK    = 0
	EC_ERROR = 1
)

Exit codes

Variables

This section is empty.

Functions

func Start

func Start(app, ver, rev string) int

Start starts sync daemon in minion mode

func Stop

func Stop()

Stop stops sync daemon

Types

type InstanceSyncState

type InstanceSyncState struct {
	SyncLeftBytes  int
	IsLoading      bool
	IsSyncing      bool
	IsWaiting      bool
	IsConnected    bool
	IsDisklessSync bool
}

InstanceSyncState contains info about current instance state

Jump to

Keyboard shortcuts

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