Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FullFsPath ¶
func Setup ¶
func Setup(opts ...SetupOption) *setup
Types ¶
type HttpContext ¶
type HttpContext struct {
// contains filtered or unexported fields
}
func (*HttpContext) Http ¶
func (c *HttpContext) Http() (*Request, *Response)
func (*HttpContext) HttpStd ¶
func (c *HttpContext) HttpStd() (*http.Request, http.ResponseWriter)
type NestedFs ¶
type NestedFs = *afero.BasePathFs
type Response ¶
type Response struct {
Writer http.ResponseWriter
}
type SetupOption ¶
type SetupOption func(*setup) error
func WithOpenApiSpec ¶
func WithOpenApiSpec(spec []byte) SetupOption
Click to show internal directories.
Click to hide internal directories.