Documentation ¶
Index ¶
- type CoreConfig
- func (hc *CoreConfig) GetCacheBlockSize() int
- func (hc *CoreConfig) GetEnabled() bool
- func (hc *CoreConfig) GetFileRoot() string
- func (hc *CoreConfig) GetKeepAllSeq() bool
- func (hc *CoreConfig) GetName() string
- func (hc *CoreConfig) GetOverrun() time.Duration
- func (hc *CoreConfig) GetPreRecoding() time.Duration
- func (hc *CoreConfig) GetRecodingDuration() time.Duration
- func (hc *CoreConfig) GetRecord() bool
- func (hc *CoreConfig) GetSetup() time.Duration
- func (hc *CoreConfig) GetUUID() string
- func (hc *CoreConfig) LoadDefaults()
- func (hc *CoreConfig) Lock()
- func (hc *CoreConfig) SetCacheBlockSize(size int)
- func (hc *CoreConfig) SetEnabled(enabled bool)
- func (hc *CoreConfig) SetFileRoot(path string)
- func (hc *CoreConfig) SetKeepAllSeq(keep bool)
- func (hc *CoreConfig) SetName(name string)
- func (hc *CoreConfig) SetOverrun(sec int)
- func (hc *CoreConfig) SetPreRecoding(sec int)
- func (hc *CoreConfig) SetRecord(record bool)
- func (hc *CoreConfig) SetSetup(sec int)
- func (hc *CoreConfig) SetUUID(uid string)
- func (hc *CoreConfig) Unlock()
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()
Click to show internal directories.
Click to hide internal directories.