Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainHandler ¶
func (DomainHandler) ServeHTTP ¶
func (d DomainHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
type OASSchemaExampleHandler ¶
type OASSchemaExampleHandler struct {
Handlers []ports.RequestHandler
FallbackStatus int
FallbackValues [][]byte
}
func (OASSchemaExampleHandler) ServeHTTP ¶
func (o OASSchemaExampleHandler) ServeHTTP(writer http.ResponseWriter, req *http.Request)
type OASSchemaMockHandler ¶
type OASSchemaMockHandler struct {
MockGenerator *renderer.MockGenerator
Schema any
Status int
}
func (OASSchemaMockHandler) ServeHTTP ¶
func (h OASSchemaMockHandler) ServeHTTP(writer http.ResponseWriter, req *http.Request)
type RulesHandler ¶
type RulesHandler struct {
Handlers []ports.RequestHandler
}
func (RulesHandler) ServeHTTP ¶
func (r RulesHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
type RulesRequestHandler ¶
type RulesRequestHandler struct {
Matcher ports.RequestMatcher
ResponseProvider ports.ResponseProvider
}
func (RulesRequestHandler) Handle ¶
func (r RulesRequestHandler) Handle(writer http.ResponseWriter, ir *domain.IncomingRequest) (handled bool)
Click to show internal directories.
Click to hide internal directories.