Versions in this module Expand all Collapse all v1 v1.0.0 Apr 27, 2022 Changes in this version + type IProcess interface + Spawn func(path, URI string) *exec.Cmd + type IStream interface + Restart func() *sync.WaitGroup + Start func() *sync.WaitGroup + Stop func() error + type Process struct + func NewProcess(keepFiles bool, audio bool) *Process + func (p Process) Spawn(path, URI string) *exec.Cmd + type ProcessLoggingOpts struct + Compress bool + Directory string + Enabled bool + MaxAge int + MaxBackups int + MaxSize int + type Stream struct + CMD *exec.Cmd + ID string + KeepFiles bool + Logger *lumberjack.Logger + LoggingOpts *ProcessLoggingOpts + Mux *sync.Mutex + OriginalURI string + Path string + Process IProcess + Running bool + StorePath string + Streak *hotstreak.Hotstreak + WaitTimeOut time.Duration + func NewStream(URI string, storingDirectory string, keepFiles bool, audio bool, ...) (*Stream, string) + func (strm *Stream) Restart() *sync.WaitGroup + func (strm *Stream) Start() *sync.WaitGroup + func (strm *Stream) Stop() error