Versions in this module Expand all Collapse all v1 v1.1.0 Mar 15, 2019 Changes in this version type Target + Reload func(context.Context) v1.0.0 Feb 8, 2019 Changes in this version + func Add(delta int) + func AddTarget(ctx context.Context, link string) error + func CancelTarget(link string) error + func CheckNow() + func Done() + func RegisterModule(m Module) error + func RemoveTarget(ctx context.Context, link string) error + func SnipeTargetAt(ctx context.Context, t Target, at time.Time) error + func Start(ctx context.Context) error + func Wait() + type DisplayRow struct + Link string + Name string + Status string + type DisplayTable struct + Live []DisplayRow + Offline []DisplayRow + Upcoming []DisplayRow + func Display() (d DisplayTable) + func (d DisplayTable) Output(dst io.Writer) error + type Module interface + AddTarget func(ctx context.Context, link string) (Target, error) + CheckUpcoming func(context.Context, []Target) error + Hostname func() string + func FindModule(hostname string) (m Module, err error) + type Target interface + BeginSave func() + BeginSnipe func() + CheckLive func(context.Context) (bool, error) + CheckStream func(context.Context) (string, error) + Display func() string + EndSave func() + Link func() string + Name func() string + SavePath func() string