Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTypes ¶
func GetTypes(cfg HTTPConfig) http.HandlerFunc
Types ¶
type HTTPConfig ¶
type HTTPConfig struct { MaxBodySize datasize.ByteSize `toml:"maxBodySize"` // inherit upload's config upload.UploadConfig }
func NewConfig ¶
func NewConfig() HTTPConfig
func (*HTTPConfig) Validate ¶
func (c *HTTPConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.