Versions in this module Expand all Collapse all v1 v1.0.1 Jun 16, 2021 v1.0.0 Jun 11, 2021 Changes in this version + const ApplicationJson + const CodeSignatureInvalidHeader + const CodeSignatureInvalidToken + const CodeSignaturePass + const CodeSignatureWrongTime + const ContentEncoding + const ContentSecurity + const ContentType + const CryptionType + const KeyField + const SecretField + const TypeField + func Error(w http.ResponseWriter, err error) + func GetRemoteAddr(r *http.Request) string + func Ok(w http.ResponseWriter) + func OkJson(w http.ResponseWriter, v interface{}) + func Parse(r *http.Request, v interface{}) error + func ParseForm(r *http.Request, v interface{}) error + func ParseHeader(headerValue string) map[string]string + func ParseJsonBody(r *http.Request, v interface{}) error + func ParsePath(r *http.Request, v interface{}) error + func SetErrorHandler(handler func(error) (int, interface{})) + func WriteJson(w http.ResponseWriter, code int, v interface{}) + type Router interface + Handle func(method, path string, handler http.Handler) error + SetNotAllowedHandler func(handler http.Handler) + SetNotFoundHandler func(handler http.Handler)