Documentation
¶
Index ¶
- Variables
- func LoadEnabledChannels(channels []string)
- func SetLogger(l *zap.SugaredLogger)
- func SpawnProcessing(videoPath string, q *queue.Queue, lib *Library, p *queue.Poller)
- func ValidateByClaim(c *claim.Claim) error
- func ValidateIncomingVideo(uri string) (*claim.Claim, error)
- type AddParams
- type DBTX
- type Library
- type Queries
- type Video
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTranscodingUnderway = errors.New("transcoding in progress") ErrChannelNotEnabled = errors.New("transcoding was not enabled for this channel") ErrNoSigningChannel = errors.New("no signing channel for stream") )
View Source
var InitialMigration = `` /* 389-byte string literal not displayed */
Functions ¶
func LoadEnabledChannels ¶
func LoadEnabledChannels(channels []string)
func SetLogger ¶
func SetLogger(l *zap.SugaredLogger)
func SpawnProcessing ¶
func ValidateByClaim ¶
Types ¶
type DBTX ¶
type DBTX interface { ExecContext(context.Context, string, ...interface{}) (sql.Result, error) PrepareContext(context.Context, string) (*sql.Stmt, error) QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error) QueryRowContext(context.Context, string, ...interface{}) *sql.Row BeginTx(context.Context, *sql.TxOptions) (*sql.Tx, error) }
type Library ¶
type Library struct {
// contains filtered or unexported fields
}
Library contains methods for accessing videos database.
func NewLibrary ¶
Click to show internal directories.
Click to hide internal directories.