Documentation ¶
Index ¶
- type DocsGenerator
- type EZServer
- func (ez *EZServer) GenerateDocs()
- func (ez *EZServer) GetRoutes() []Route
- func (ez *EZServer) HandleFunc(route Route) func(rw http.ResponseWriter, r *http.Request)
- func (ez *EZServer) ListenAndServe()
- func (ez *EZServer) NotFound(rw http.ResponseWriter, r *http.Request)
- func (ez *EZServer) RegisterRoute(route Route)
- type OpenAPIDocs
- type Route
- type RouteKeyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocsGenerator ¶
type DocsGenerator struct {
// contains filtered or unexported fields
}
func (*DocsGenerator) GenerateDocs ¶
func (g *DocsGenerator) GenerateDocs()
func (*DocsGenerator) GenerateDocsForRoute ¶
func (g *DocsGenerator) GenerateDocsForRoute(route Route)
func (*DocsGenerator) GenerateOpenAPIFiles ¶
func (g *DocsGenerator) GenerateOpenAPIFiles()
type EZServer ¶
type EZServer struct {
// contains filtered or unexported fields
}
func (*EZServer) GenerateDocs ¶
func (ez *EZServer) GenerateDocs()
func (*EZServer) HandleFunc ¶
func (*EZServer) ListenAndServe ¶
func (ez *EZServer) ListenAndServe()
func (*EZServer) RegisterRoute ¶
type OpenAPIDocs ¶
type OpenAPIDocs struct { Components openapi3.Components `json:"components,omitempty" yaml:"components,omitempty"` Paths openapi3.Paths `json:"paths,omitempty" yaml:"paths,omitempty"` }
Click to show internal directories.
Click to hide internal directories.