enc

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(w http.ResponseWriter, req *http.Request)

func ParseParams

func ParseParams(w http.ResponseWriter, mr *multipart.Reader, c Config) (map[string]interface{}, bool)

func Process

func Process(w http.ResponseWriter, params map[string]interface{}, _ Config)

Types

type Config

type Config struct {
	InputMaxsize int64
}

func GetConfig

func GetConfig() Config

func NewConfig

func NewConfig() (Config, error)

type ErrInvalidConfig

type ErrInvalidConfig struct {
	Field  string
	ErrVal string
}

func (ErrInvalidConfig) Error

func (e ErrInvalidConfig) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL