Documentation ¶
Index ¶
Constants ¶
View Source
const InfoScreenCollection = "infoscreen"
InfoScreenCollection is the MongoDB collection name that holds all infoscreen shows.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface { // ListShowNames lists the names of all shows stored. ListShows(ctx context.Context) ([]v1alpha.ListShowEntry, error) // SaveShow saves a new slideshow SaveShow(ctx context.Context, show v1alpha.Show) error // GetShow returns the slideshow by name. GetShow(ctx context.Context, name string) (*v1alpha.Show, error) // DeleteShow deletes an existing slide show DeleteShow(ctx context.Context, name string) error }
Click to show internal directories.
Click to hide internal directories.