README ¶ Middleware: Request Method Override How to use? Header: X-HTTP-Method-Override Methods: GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH var api = rest.New("/") api.Use(methodoverride.Load()) Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Constants func Load() rest.Handler Constants ¶ View Source const ( ErrCodeMalformedBody = "MALFORMED_BODY" ErrCodeFormParse = "FORM_PARSE_ERROR" ) Possible error codes expose to handle errors Variables ¶ This section is empty. Functions ¶ func Load ¶ func Load() rest.Handler Load method override middleware/interceptor. Types ¶ This section is empty. Source Files ¶ View all Source files method-override.go Directories ¶ Show internal Expand all Path Synopsis examples Click to show internal directories. Click to hide internal directories.