Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSwaggerHandler ¶
func RegisterAPI ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is api meta server
func (*Server) GetServiceDesc ¶
func (s *Server) GetServiceDesc(w http.ResponseWriter, r *http.Request)
GetServiceDesc return service meta by name
func (*Server) ListServices ¶
func (s *Server) ListServices(w http.ResponseWriter, _ *http.Request)
ListServices return all services
type ServicesReply ¶
Directories ¶
Path | Synopsis |
---|---|
genopenapi
Package genopenapi provides a code generator for OpenAPI v2.
|
Package genopenapi provides a code generator for OpenAPI v2. |
Click to show internal directories.
Click to hide internal directories.