globalstate

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReflectionPath

func ReflectionPath() string

func SendWake

func SendWake()

func WakeChan

func WakeChan() chan string

Types

type Data

type Data struct {
	InFile          string
	Encoder         Encoder
	FileWalker      FileWalker
	Mover           Mover
	Paused          bool
	ShutdownPending bool
	HostName        string
}

func Instance

func Instance() *Data

Instance retrieves the current configuration file instance

Creates a new one if it doesn't exist

func (*Data) Clear

func (d *Data) Clear()

type Encoder

type Encoder struct {
	Active            bool
	LineOut           []string `json:"-"`
	Duration          time.Time
	Frame             int
	Fps               float64
	Q                 float64
	Size              string
	Position          time.Time
	Bitrate           string
	Dup               int
	Drop              int
	Speed             float64
	Slice             int
	OfSlices          int
	Remaining         time.Duration
	Progress          float64
	ReplacementReason string
	OutPath           string
}

type FileWalker

type FileWalker struct {
	Active    bool
	Directory string
	Position  int
	LibSize   int
}

type Mover

type Mover struct {
	Active   bool
	File     string
	Progress int
	Position string
	FileSize string
}

Jump to

Keyboard shortcuts

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