Documentation
¶
Index ¶
- func NewStore(db *sqlx.DB, cdn *s3.S3, conf *creator.Config) creator.ChannelRepo
- type Store
- func (s *Store) DeleteChannel(ctx context.Context, urlName string) error
- func (s *Store) GetChannel(ctx context.Context, urlName string) (playout.Channel, error)
- func (s *Store) ListChannels(ctx context.Context) ([]playout.Channel, error)
- func (s *Store) NewChannel(ctx context.Context, ch playout.Channel) error
- func (s *Store) UpdateChannel(ctx context.Context, ch playout.Channel) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store contains our dependency
func (*Store) DeleteChannel ¶
DeleteChannel delete a channel
func (*Store) GetChannel ¶ added in v0.9.5
GetChannel gets a channel
func (*Store) ListChannels ¶
ListChannels list all channels
func (*Store) NewChannel ¶
NewChannel create a new channel
Click to show internal directories.
Click to hide internal directories.