Discover Packages
github.com/joebjoe/go-mocker
internal
api
package
Version:
v0.0.0-...-f4ef19a
Opens a new window with list of versions in this module.
Published: Mar 9, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func NotFoundHandler(next echo.HandlerFunc) echo.HandlerFunc
const (
FromTypeStruct FromType = "struct"
FromTypeInterface FromType = "interface"
)
type RequestGET struct {
Module string `json:"module"`
Package string `json:"package"`
Type string `json:"type"`
To ToType `param:"to"`
From FromType `param:"from"`
}
type Server interface {
HandleGET(c echo.Context) error
}
const (
ToTypeMock ToType = "mock"
ToTypeInterface ToType = "interface"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.