Discover Packages
github.com/lbryio/lbrytv
app
publish
package
Version:
v0.14.2
Opens a new window with list of versions in this module.
Published: May 22, 2020
License: MIT
Opens a new window with license information.
Imports: 22
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
CreatePublishRequest creates and returns a HTTP request providing data for the publishing endpoint.
type Handler ¶
added in
v0.13.3
type Handler struct {
UploadPath string
}
Handler has path to save uploads to
func (Handler) CanHandle ¶
added in
v0.13.3
CanHandle checks if http.Request contains POSTed data in an accepted format.
Supposed to be used in gorilla mux router MatcherFunc.
func (Handler) Handle ¶
added in
v0.13.3
Handle is where HTTP upload is handled and passed on to Publisher.
It should be wrapped with users.Authenticator.Wrap before it can be used
in a mux.Router.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.