Versions in this module Expand all Collapse all v1 v1.1.1 Aug 18, 2022 Changes in this version + var ErrBadRequest = errors.New("Bad Request") + var ErrInternal = errors.New("Internal Server Error") + var ErrMethodNotAllowed = errors.New("Method Not Allowed") + var ErrNotFound = errors.New("Not Found") + func GetHost(req *http.Request) string + func GetProtocol(header http.Header) string + func PasteAddFromForm(form url.Values, db storage.DB, titleMaxLen int, bodyMaxLen int, ...) (string, error)