Versions in this module Expand all Collapse all v0 v0.5.5 Jul 8, 2023 Changes in this version + func NewBout(showID string, showMap *syncmap.RWMap[string, Show], cfg *config.Config) (*bout, error) + type Kernel struct + func New(log *logrus.Logger, cfg *config.Config, shows []Show) *Kernel + func (k *Kernel) DeleteShow(shows ...Show) + func (k *Kernel) Done() <-chan struct{} + func (k *Kernel) HandleShow(shows ...Show) + func (k *Kernel) IsValidPortalUser(un, pw string) bool + func (k *Kernel) Run() + func (k *Kernel) Shutdown(ctx context.Context) + func (k *Kernel) UpdateConfig(key, value string) + func (k *Kernel) UpdateShow(shows ...Show) + type Show struct + DateCreated time.Time + DateUpdated time.Time + Enable bool + ID string + OutTmpl string + Parser string + Platform string + PostCmds string + RoomID string + SaveDir string + SplitRule string + StreamerName string + func (s *Show) CheckAndFix(cfg *config.Config) + type SplitRule struct + Duration string + FileSize int64 + func NewSplitRule(str string) (*SplitRule, error) + func (sr *SplitRule) IsValid() bool + func (sr *SplitRule) Satisfy(startTime time.Time, out string) bool