Documentation ¶
Overview ¶
Copyright 2023 Kapeta Inc. SPDX-License-Identifier: MIT
Copyright 2023 Kapeta Inc. SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UseEchoPathRouter ¶ added in v0.2.1
func UseEchoPathRouter(e *echo.Echo)
func UseEchoRouter ¶ added in v0.2.1
func UseEchoRouter(name string, e *echo.Echo)
UseEchoRouter registers a new directive executor which can extract values from `mux.Vars`, i.e. path variables. https://ggicci.github.io/httpin/integrations/echo
Usage:
import httpin_integration "github.com/ggicci/httpin/integration" func init() { e := echo.New() httpin_integration.UseEchoRouter("path", e) }
Types ¶
type EchoMuxVarsFunc ¶ added in v0.2.1
EchoMuxVarsFunc is mux.Vars
type KapetaServer ¶
type KapetaServer struct {
*echo.Echo
}
func New ¶
func New() *KapetaServer
New creates a new instance of the KapetaServer, with no default settings
func NewWithDefaults ¶
func NewWithDefaults() *KapetaServer
New creates a new instance of the KapetaServer with default settings
Click to show internal directories.
Click to hide internal directories.