Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestHandler ¶
type RequestHandler interface {
Handle(writer http.ResponseWriter, ir *domain.IncomingRequest) (handled bool)
}
type RequestMatcher ¶
type RequestMatcher interface {
Matches(req *domain.IncomingRequest) bool
}
type RequestMatcherFunc ¶
type RequestMatcherFunc func(req *domain.IncomingRequest) bool
func (RequestMatcherFunc) Matches ¶
func (f RequestMatcherFunc) Matches(req *domain.IncomingRequest) bool
type ResponseProvider ¶
type ResponseProvider interface {
Apply(writer http.ResponseWriter)
}
type ResponseProviderFunc ¶
type ResponseProviderFunc func(writer http.ResponseWriter)
func (ResponseProviderFunc) Apply ¶
func (f ResponseProviderFunc) Apply(writer http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.