Documentation
¶
Index ¶
- func AuthError(err error, ctx context.Context) error
- func Authenticate(req *http.Request) (u *user.User, err error)
- func DataUpload(r *http.Request) (params map[string]string, files file.FormFiles, err error)
- func Log(req *http.Request)
- func ParseMultipartForm(r *http.Request) (params map[string]string, files file.FormFiles, err error)
- func ParseSamtoolsArgs(query url.Values) (argv []string, err error)
- type MultiStreamer
- type Streamer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataUpload ¶
helper function to create a node from an http data post
func ParseMultipartForm ¶
func ParseMultipartForm(r *http.Request) (params map[string]string, files file.FormFiles, err error)
helper function for create & update
func ParseSamtoolsArgs ¶
helper function to translate args in URL query to samtools args manual: http://samtools.sourceforge.net/samtools.shtml
Types ¶
type MultiStreamer ¶ added in v0.9.21
type MultiStreamer struct {
Files []*file.FileInfo
W http.ResponseWriter
ContentType string
Filename string
Archive string
}
func (*MultiStreamer) MultiStream ¶ added in v0.9.21
func (m *MultiStreamer) MultiStream() (err error)
type Streamer ¶
type Streamer struct {
R []file.SectionReader
W http.ResponseWriter
E error
ESection int
ContentType string
Filename string
Size int64
Filter filter.FilterFunc
Compression string
}
Click to show internal directories.
Click to hide internal directories.