Documentation
¶
Index ¶
- Variables
- func CachedResolverMiddleware(r Resolver) echo.MiddlewareFunc
- func HandleHTTPStatus(ec echo.Context) error
- func HandleIP(c echo.Context) error
- func NewServer(debug bool) *echo.Echo
- func NoCacheHeaderMiddleware() echo.MiddlewareFunc
- func Wrap(c echo.Context) *ctx
- type Context
- type HTTPStatusResponse
- type IPResponse
- type Resolver
- type Route
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultRoutes = []Route{}
)
Functions ¶
func CachedResolverMiddleware ¶
func CachedResolverMiddleware(r Resolver) echo.MiddlewareFunc
func HandleHTTPStatus ¶
func NoCacheHeaderMiddleware ¶
func NoCacheHeaderMiddleware() echo.MiddlewareFunc
Types ¶
type HTTPStatusResponse ¶
type HTTPStatusResponse struct {
Message string `json:"message" xml:"Message" codec:"message"`
}
type IPResponse ¶
func (IPResponse) String ¶
func (r IPResponse) String() string
type Resolver ¶
func ResolverFromEcho ¶
Click to show internal directories.
Click to hide internal directories.