Documentation ¶
Index ¶
- func New() transports.MuxHandler
- type Config
- type Handler
- func (handler *Handler) Construct(options transports.MuxHandlerOptions) (err error)
- func (handler *Handler) Handle(w transports.ResponseWriter, r transports.Request)
- func (handler *Handler) Match(_ context.Context, method []byte, path []byte, _ transports.Header) (ok bool)
- func (handler *Handler) Name() string
- type OpenAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() transports.MuxHandler
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler method is get url is /documents when /documents?openapi={latest|version_text}, then return openapi
func (*Handler) Construct ¶
func (handler *Handler) Construct(options transports.MuxHandlerOptions) (err error)
func (*Handler) Handle ¶
func (handler *Handler) Handle(w transports.ResponseWriter, r transports.Request)
Click to show internal directories.
Click to hide internal directories.