Documentation ¶
Index ¶
- Variables
- func ApiUrl(ctx context.Context) string
- func CopyFile(src string, dst string) (int64, error)
- func IsValidFileName(a string) bool
- func IsValidParamName(a string) bool
- func IsValidUploadFile(a string) bool
- func RandString(l int) (s string)
- func StringInSlice(a string, list []string) bool
- func StripSuffix(file string) string
- func ToInt(s string) (i int)
- type Query
- type UrlResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidUpload = []string{"upload", "gzip", "bzip2"}
Functions ¶
func IsValidFileName ¶
func IsValidParamName ¶
func IsValidUploadFile ¶ added in v0.9.5
func RandString ¶
func StringInSlice ¶
func StripSuffix ¶ added in v0.9.5
Types ¶
type UrlResponse ¶
Click to show internal directories.
Click to hide internal directories.