Documentation ¶
Index ¶
- Constants
- func Bind(ctx echo.Context, v interface{}) error
- func Body(ctx echo.Context) ([]byte, error)
- func FormParam(echo_ echo.Context) map[string]string
- func FormParamString(echo_ echo.Context) string
- func GetAuthorizationHeader(header http.Header) string
- func HttpError(err error, code int) error
- func Param(echo_ echo.Context) map[string]string
- func ParamString(echo_ echo.Context) string
- func ParseAuthorizationHeader(header http.Header) (auth_scheme string, auth_value string, ok bool)
- func QueryParam(echo_ echo.Context) map[string]string
- func QueryParamString(echo_ echo.Context) string
- func SeHttpHeader(header http.Header, key string, value ...string)
- func WrapHttpError(code int, fn ...func() error) error
Constants ¶
View Source
const ( HTTP_AUTH_SCHEMA_BEARER = "Bearer" HTTP_HEAD_AUTHORIZATION = "Authorization" )
Variables ¶
This section is empty.
Functions ¶
func FormParamString ¶
func FormParamString(echo_ echo.Context) string
func GetAuthorizationHeader ¶
func ParamString ¶
func ParamString(echo_ echo.Context) string
func QueryParam ¶
func QueryParamString ¶
func QueryParamString(echo_ echo.Context) string
func WrapHttpError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.