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 node.FormFiles, err error)
- func Log(req *http.Request)
- func ParseMultipartForm(r *http.Request) (params map[string]string, files node.FormFiles, err error)
- func ParseSamtoolsArgs(ctx context.Context) (argv []string, err error)
- 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 node.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 Streamer ¶
type Streamer struct { R []file.SectionReader W http.ResponseWriter ContentType string Filename string Size int64 Filter filter.FilterFunc }
Click to show internal directories.
Click to hide internal directories.