heliosecho

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CONNECT = origin_echo.CONNECT
View Source
const ContextKeyHeaderAllow = origin_echo.ContextKeyHeaderAllow
View Source
const DELETE = origin_echo.DELETE
View Source
const HeaderAccept = origin_echo.HeaderAccept
View Source
const HeaderAcceptEncoding = origin_echo.HeaderAcceptEncoding
View Source
const HeaderAccessControlAllowCredentials = origin_echo.HeaderAccessControlAllowCredentials
View Source
const HeaderAccessControlAllowHeaders = origin_echo.HeaderAccessControlAllowHeaders
View Source
const HeaderAccessControlAllowMethods = origin_echo.HeaderAccessControlAllowMethods
View Source
const HeaderAccessControlAllowOrigin = origin_echo.HeaderAccessControlAllowOrigin
View Source
const HeaderAccessControlExposeHeaders = origin_echo.HeaderAccessControlExposeHeaders
View Source
const HeaderAccessControlMaxAge = origin_echo.HeaderAccessControlMaxAge
View Source
const HeaderAccessControlRequestHeaders = origin_echo.HeaderAccessControlRequestHeaders
View Source
const HeaderAccessControlRequestMethod = origin_echo.HeaderAccessControlRequestMethod
View Source
const HeaderAllow = origin_echo.HeaderAllow
View Source
const HeaderAuthorization = origin_echo.HeaderAuthorization
View Source
const HeaderCacheControl = origin_echo.HeaderCacheControl
View Source
const HeaderConnection = origin_echo.HeaderConnection
View Source
const HeaderContentDisposition = origin_echo.HeaderContentDisposition
View Source
const HeaderContentEncoding = origin_echo.HeaderContentEncoding
View Source
const HeaderContentLength = origin_echo.HeaderContentLength
View Source
const HeaderContentSecurityPolicy = origin_echo.HeaderContentSecurityPolicy
View Source
const HeaderContentSecurityPolicyReportOnly = origin_echo.HeaderContentSecurityPolicyReportOnly
View Source
const HeaderContentType = origin_echo.HeaderContentType
View Source
const HeaderCookie = origin_echo.HeaderCookie
View Source
const HeaderIfModifiedSince = origin_echo.HeaderIfModifiedSince
View Source
const HeaderLastModified = origin_echo.HeaderLastModified
View Source
const HeaderLocation = origin_echo.HeaderLocation
View Source
const HeaderOrigin = origin_echo.HeaderOrigin
View Source
const HeaderReferrerPolicy = origin_echo.HeaderReferrerPolicy
View Source
const HeaderRetryAfter = origin_echo.HeaderRetryAfter
View Source
const HeaderServer = origin_echo.HeaderServer
View Source
const HeaderSetCookie = origin_echo.HeaderSetCookie
View Source
const HeaderStrictTransportSecurity = origin_echo.HeaderStrictTransportSecurity
View Source
const HeaderUpgrade = origin_echo.HeaderUpgrade
View Source
const HeaderVary = origin_echo.HeaderVary
View Source
const HeaderWWWAuthenticate = origin_echo.HeaderWWWAuthenticate
View Source
const HeaderXCSRFToken = origin_echo.HeaderXCSRFToken
View Source
const HeaderXContentTypeOptions = origin_echo.HeaderXContentTypeOptions
View Source
const HeaderXCorrelationID = origin_echo.HeaderXCorrelationID
View Source
const HeaderXForwardedFor = origin_echo.HeaderXForwardedFor
View Source
const HeaderXForwardedProto = origin_echo.HeaderXForwardedProto
View Source
const HeaderXForwardedProtocol = origin_echo.HeaderXForwardedProtocol
View Source
const HeaderXForwardedSsl = origin_echo.HeaderXForwardedSsl
View Source
const HeaderXFrameOptions = origin_echo.HeaderXFrameOptions
View Source
const HeaderXHTTPMethodOverride = origin_echo.HeaderXHTTPMethodOverride
View Source
const HeaderXRealIP = origin_echo.HeaderXRealIP
View Source
const HeaderXRequestID = origin_echo.HeaderXRequestID
View Source
const HeaderXRequestedWith = origin_echo.HeaderXRequestedWith
View Source
const HeaderXUrlScheme = origin_echo.HeaderXUrlScheme
View Source
const HeaderXXSSProtection = origin_echo.HeaderXXSSProtection
View Source
const MIMEApplicationForm = origin_echo.MIMEApplicationForm
View Source
const MIMEApplicationJSON = origin_echo.MIMEApplicationJSON
View Source
const MIMEApplicationJSONCharsetUTF8 = origin_echo.MIMEApplicationJSONCharsetUTF8
View Source
const MIMEApplicationJavaScript = origin_echo.MIMEApplicationJavaScript
View Source
const MIMEApplicationJavaScriptCharsetUTF8 = origin_echo.MIMEApplicationJavaScriptCharsetUTF8
View Source
const MIMEApplicationMsgpack = origin_echo.MIMEApplicationMsgpack
View Source
const MIMEApplicationProtobuf = origin_echo.MIMEApplicationProtobuf
View Source
const MIMEApplicationXML = origin_echo.MIMEApplicationXML
View Source
const MIMEApplicationXMLCharsetUTF8 = origin_echo.MIMEApplicationXMLCharsetUTF8
View Source
const MIMEMultipartForm = origin_echo.MIMEMultipartForm
View Source
const MIMEOctetStream = origin_echo.MIMEOctetStream
View Source
const MIMETextHTML = origin_echo.MIMETextHTML
View Source
const MIMETextHTMLCharsetUTF8 = origin_echo.MIMETextHTMLCharsetUTF8
View Source
const MIMETextPlain = origin_echo.MIMETextPlain
View Source
const MIMETextPlainCharsetUTF8 = origin_echo.MIMETextPlainCharsetUTF8
View Source
const MIMETextXML = origin_echo.MIMETextXML
View Source
const MIMETextXMLCharsetUTF8 = origin_echo.MIMETextXMLCharsetUTF8
View Source
const OPTIONS = origin_echo.OPTIONS
View Source
const PATCH = origin_echo.PATCH
View Source
const PROPFIND = origin_echo.PROPFIND
View Source
const REPORT = origin_echo.REPORT
View Source
const RouteNotFound = origin_echo.RouteNotFound
View Source
const TRACE = origin_echo.TRACE
View Source
const Version = origin_echo.Version

Variables

View Source
var ErrBadGateway = origin_echo.ErrBadGateway
View Source
var ErrBadRequest = origin_echo.ErrBadRequest
View Source
var ErrCookieNotFound = origin_echo.ErrCookieNotFound
View Source
var ErrForbidden = origin_echo.ErrForbidden
View Source
var ErrInternalServerError = origin_echo.ErrInternalServerError
View Source
var ErrInvalidCertOrKeyType = origin_echo.ErrInvalidCertOrKeyType
View Source
var ErrInvalidListenerNetwork = origin_echo.ErrInvalidListenerNetwork
View Source
var ErrInvalidRedirectCode = origin_echo.ErrInvalidRedirectCode
View Source
var ErrMethodNotAllowed = origin_echo.ErrMethodNotAllowed
View Source
var ErrNotFound = origin_echo.ErrNotFound
View Source
var ErrRendererNotRegistered = origin_echo.ErrRendererNotRegistered
View Source
var ErrRequestTimeout = origin_echo.ErrRequestTimeout
View Source
var ErrServiceUnavailable = origin_echo.ErrServiceUnavailable
View Source
var ErrStatusRequestEntityTooLarge = origin_echo.ErrStatusRequestEntityTooLarge
View Source
var ErrTooManyRequests = origin_echo.ErrTooManyRequests
View Source
var ErrUnauthorized = origin_echo.ErrUnauthorized
View Source
var ErrUnsupportedMediaType = origin_echo.ErrUnsupportedMediaType
View Source
var ErrValidatorNotRegistered = origin_echo.ErrValidatorNotRegistered
View Source
var MethodNotAllowedHandler = origin_echo.MethodNotAllowedHandler
View Source
var NotFoundHandler = origin_echo.NotFoundHandler

Functions

func GetPath

func GetPath(r *http.Request) string

func MustSubFS

func MustSubFS(currentFs fs.FS, fsRoot string) fs.FS

func NewBindingError

func NewBindingError(sourceParam string, values []string, message interface{}, internalError error) error

Types

type BindUnmarshaler

type BindUnmarshaler = origin_echo.BindUnmarshaler

type Binder

type Binder = origin_echo.Binder

type BindingError

type BindingError = origin_echo.BindingError

type Context

type Context = origin_echo.Context

type DefaultBinder

type DefaultBinder = origin_echo.DefaultBinder

type DefaultJSONSerializer

type DefaultJSONSerializer = origin_echo.DefaultJSONSerializer

type Echo

type Echo = origin_echo.Echo

func New

func New() (e *Echo)

type Group

type Group = origin_echo.Group

type HTTPError

type HTTPError = origin_echo.HTTPError

func NewHTTPError

func NewHTTPError(code int, message ...interface{}) *HTTPError

type HTTPErrorHandler

type HTTPErrorHandler = origin_echo.HTTPErrorHandler

type HandlerFunc

type HandlerFunc = origin_echo.HandlerFunc

func StaticDirectoryHandler

func StaticDirectoryHandler(fileSystem fs.FS, disablePathUnescaping bool) HandlerFunc

func StaticFileHandler

func StaticFileHandler(file string, filesystem fs.FS) HandlerFunc

func WrapHandler

func WrapHandler(h http.Handler) HandlerFunc

type IPExtractor

type IPExtractor = origin_echo.IPExtractor

func ExtractIPDirect

func ExtractIPDirect() IPExtractor

func ExtractIPFromRealIPHeader

func ExtractIPFromRealIPHeader(options ...TrustOption) IPExtractor

func ExtractIPFromXFFHeader

func ExtractIPFromXFFHeader(options ...TrustOption) IPExtractor

type JSONSerializer

type JSONSerializer = origin_echo.JSONSerializer

type Logger

type Logger = origin_echo.Logger

type Map

type Map = origin_echo.Map

type MiddlewareFunc

type MiddlewareFunc = origin_echo.MiddlewareFunc

func WrapMiddleware

func WrapMiddleware(m func(http.Handler) http.Handler) MiddlewareFunc

type Renderer

type Renderer = origin_echo.Renderer

type Response

type Response = origin_echo.Response

func NewResponse

func NewResponse(w http.ResponseWriter, e *Echo) (r *Response)

type Route

type Route = origin_echo.Route

type Router

type Router = origin_echo.Router

func NewRouter

func NewRouter(e *Echo) *Router

type TrustOption

type TrustOption = origin_echo.TrustOption

func TrustIPRange

func TrustIPRange(ipRange *net.IPNet) TrustOption

func TrustLinkLocal

func TrustLinkLocal(v bool) TrustOption

func TrustLoopback

func TrustLoopback(v bool) TrustOption

func TrustPrivateNet

func TrustPrivateNet(v bool) TrustOption

type Validator

type Validator = origin_echo.Validator

type ValueBinder

type ValueBinder = origin_echo.ValueBinder

func FormFieldBinder

func FormFieldBinder(c Context) *ValueBinder

func PathParamsBinder

func PathParamsBinder(c Context) *ValueBinder

func QueryParamsBinder

func QueryParamsBinder(c Context) *ValueBinder

Jump to

Keyboard shortcuts

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