coreconfig

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreConfig

type CoreConfig struct {
	UUID           string
	Name           string
	Enabled        bool
	Record         bool
	KeepAllSeq     bool
	FileRoot       string
	PreRecoding    int // second
	Overrun        int // second
	Setup          int // second
	CacheBlockSize int
	Acquire        acquireconfig.AcquireConfig
	Trigger        triggerconfig.TriggerConfig
}

func (*CoreConfig) GetCacheBlockSize

func (hc *CoreConfig) GetCacheBlockSize() int

func (*CoreConfig) GetEnabled

func (hc *CoreConfig) GetEnabled() bool

func (*CoreConfig) GetFileRoot

func (hc *CoreConfig) GetFileRoot() string

func (*CoreConfig) GetKeepAllSeq

func (hc *CoreConfig) GetKeepAllSeq() bool

func (*CoreConfig) GetName

func (hc *CoreConfig) GetName() string

func (*CoreConfig) GetOverrun

func (hc *CoreConfig) GetOverrun() time.Duration

func (*CoreConfig) GetPreRecoding

func (hc *CoreConfig) GetPreRecoding() time.Duration

func (*CoreConfig) GetRecodingDuration

func (hc *CoreConfig) GetRecodingDuration() time.Duration

func (*CoreConfig) GetRecord

func (hc *CoreConfig) GetRecord() bool

func (*CoreConfig) GetSetup

func (hc *CoreConfig) GetSetup() time.Duration

func (*CoreConfig) GetUUID

func (hc *CoreConfig) GetUUID() string

func (*CoreConfig) LoadDefaults

func (hc *CoreConfig) LoadDefaults()

func (*CoreConfig) Lock

func (hc *CoreConfig) Lock()

func (*CoreConfig) SetCacheBlockSize

func (hc *CoreConfig) SetCacheBlockSize(size int)

func (*CoreConfig) SetEnabled

func (hc *CoreConfig) SetEnabled(enabled bool)

func (*CoreConfig) SetFileRoot

func (hc *CoreConfig) SetFileRoot(path string)

func (*CoreConfig) SetKeepAllSeq

func (hc *CoreConfig) SetKeepAllSeq(keep bool)

func (*CoreConfig) SetName

func (hc *CoreConfig) SetName(name string)

func (*CoreConfig) SetOverrun

func (hc *CoreConfig) SetOverrun(sec int)

func (*CoreConfig) SetPreRecoding

func (hc *CoreConfig) SetPreRecoding(sec int)

func (*CoreConfig) SetRecord

func (hc *CoreConfig) SetRecord(record bool)

func (*CoreConfig) SetSetup

func (hc *CoreConfig) SetSetup(sec int)

func (*CoreConfig) SetUUID

func (hc *CoreConfig) SetUUID(uid string)

func (*CoreConfig) Unlock

func (hc *CoreConfig) Unlock()

Jump to

Keyboard shortcuts

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