Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncoderController ¶ added in v0.7.0
type EncoderController struct {
// contains filtered or unexported fields
}
func NewEncoderController ¶ added in v0.7.0
func NewEncoderController(enc *encoder.Encoder) *EncoderController
func (*EncoderController) TranscodeFinished ¶ added in v0.7.0
func (e *EncoderController) TranscodeFinished(c echo.Context) error
func (*EncoderController) VideoNew ¶ added in v0.7.0
func (e *EncoderController) VideoNew(c echo.Context) error
VideoNew handles authenticating a video upload request.
Connects with tusd through web-hooks, so tusd POSTs here. tusd's requests here does contain a lot of useful information. but for this endpoint, we are just checking for the JWT.
type MetaData ¶
type MetaData struct {
Filename string `json:"filename"`
}
MetaData represents metadata of a file. There is more, but we just need filename
Click to show internal directories.
Click to hide internal directories.