Documentation
¶
Overview ¶
Package context provides Telly specific context functions like SQLite access, along with initialized API clients and other packages such as models.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CContext ¶
type CContext struct {
API *models.APICollection
Ctx ctx.Context
GuideSourceProviders map[int]guideproviders.GuideProvider
Log *logrus.Logger
Streams map[string]*streamsuite.Stream
Tuners map[int]chan bool
VideoSourceProviders map[int]videoproviders.VideoProvider
RawSQL *sqlx.DB
}
CContext is a context struct that gets passed around the application.
func NewCContext ¶
NewCContext returns an initialized CContext struct
Click to show internal directories.
Click to hide internal directories.