gen/

directory
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2026 License: MIT

Directories

Path Synopsis
Package client turns the operations of the Go model into an HTTP client: the client type with its options, the request options of every operation, the methods that call the API, and the response envelopes of the HasEnvelopes methods.
Package client turns the operations of the Go model into an HTTP client: the client type with its options, the request options of every operation, the methods that call the API, and the response envelopes of the HasEnvelopes methods.
Package mcp turns the operations of the Go model into MCP tools that call the generated client: the tools type that registers them on a server of the official Go SDK, one tool definition and handler per operation, and the input type of every tool.
Package mcp turns the operations of the Go model into MCP tools that call the generated client: the tools type that registers them on a server of the official Go SDK, one tool definition and handler per operation, and the input type of every tool.
Package models turns the declarations of the Go model into the data its templates render.
Package models turns the declarations of the Go model into the data its templates render.
Package operation holds what the server, the client and the MCP generators share about an operation: the fields its parameters and bodies go in, the Go type of a body, the status code a response key names, how the runtime names a parameter's style, the encoding of a form body, and the parts the types of an operation are declared in.
Package operation holds what the server, the client and the MCP generators share about an operation: the fields its parameters and bodies go in, the Go type of a body, the status code a response key names, how the runtime names a parameter's style, the encoding of a form body, and the parts the types of an operation are declared in.
Package server turns the operations of the Go model into a server: the service contract a service implements, the HTTP adapter that calls it, the router of one framework, and the scaffold files a project starts from.
Package server turns the operations of the Go model into a server: the service contract a service implements, the HTTP adapter that calls it, the router of one framework, and the scaffold files a project starts from.
framework
Package framework is what the router of one HTTP framework needs from the generator, and what every framework shares.
Package framework is what the router of one HTTP framework needs from the generator, and what every framework shares.
framework/beego
Package beego is the router for github.com/beego/beego/v2.
Package beego is the router for github.com/beego/beego/v2.
framework/chi
Package chi is the router for github.com/go-chi/chi.
Package chi is the router for github.com/go-chi/chi.
framework/echo
Package echo is the router for github.com/labstack/echo, whose handlers take an echo.Context and return an error.
Package echo is the router for github.com/labstack/echo, whose handlers take an echo.Context and return an error.
framework/echov5
Package echov5 is the router for github.com/labstack/echo/v5, whose handlers take an *echo.Context and return an error.
Package echov5 is the router for github.com/labstack/echo/v5, whose handlers take an *echo.Context and return an error.
framework/fasthttp
Package fasthttp is the router for github.com/fasthttp/router over github.com/valyala/fasthttp.
Package fasthttp is the router for github.com/fasthttp/router over github.com/valyala/fasthttp.
framework/fiber
Package fiber is the router for github.com/gofiber/fiber/v3.
Package fiber is the router for github.com/gofiber/fiber/v3.
framework/gin
Package gin is the router for github.com/gin-gonic/gin.
Package gin is the router for github.com/gin-gonic/gin.
framework/goframe
Package goframe is the router for github.com/gogf/gf/v2.
Package goframe is the router for github.com/gogf/gf/v2.
framework/gorillamux
Package gorillamux is the router for github.com/gorilla/mux.
Package gorillamux is the router for github.com/gorilla/mux.
framework/gozero
Package gozero is the router for the rest package of github.com/zeromicro/go-zero: the router of its rest server, which rest.WithRouter gives one.
Package gozero is the router for the rest package of github.com/zeromicro/go-zero: the router of its rest server, which rest.WithRouter gives one.
framework/hertz
Package hertz is the router for github.com/cloudwego/hertz.
Package hertz is the router for github.com/cloudwego/hertz.
framework/iris
Package iris is the router for github.com/kataras/iris/v12.
Package iris is the router for github.com/kataras/iris/v12.
framework/kratos
Package kratos is the router for the HTTP transport of github.com/go-kratos/kratos/v2, whose handlers take a kratos Context and return an error.
Package kratos is the router for the HTTP transport of github.com/go-kratos/kratos/v2, whose handlers take a kratos Context and return an error.
framework/stdhttp
Package stdhttp is the router for http.ServeMux of the standard library, with its method and wildcard patterns.
Package stdhttp is the router for http.ServeMux of the standard library, with its method and wildcard patterns.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL