http

package
v0.0.0-...-bf9f964 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainHandler

type DomainHandler map[string]http.Handler

func (DomainHandler) ServeHTTP

func (d DomainHandler) ServeHTTP(writer http.ResponseWriter, request *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 {
	MaxContentLength int64
	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)

Jump to

Keyboard shortcuts

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