Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFramework ¶
Types ¶
type Framework ¶
type Framework interface {
Register(path string, method string, handler FrameworkHandler)
ListenAndServe(addr string) error
Shutdown() error
GetNativeApp() interface{}
GetOpenAPICompatiblePathPattern(path string) string
TestRequest(req *http.Request) (*http.Response, error)
}
func GetFramework ¶
type FrameworkHandler ¶
type FrameworkHandler func(req FrameworkRequest, res FrameworkResponse, ctx *context.Context) error
type FrameworkRequest ¶
Click to show internal directories.
Click to hide internal directories.