Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestHolder ¶
type RequestHolder struct {
// contains filtered or unexported fields
}
func (*RequestHolder) GetRequest ¶
func (h *RequestHolder) GetRequest() *http.Request
func (*RequestHolder) GetResponseWriter ¶
func (h *RequestHolder) GetResponseWriter() http.ResponseWriter
func (*RequestHolder) RequestContextAppend ¶
func (h *RequestHolder) RequestContextAppend(key, val interface{})
type RequestProcessed ¶
type RequestProcessed struct { RequestHolder Respondent commonEvents.Propagator }
func NewRequestProcessed ¶
func NewRequestProcessed(responseWriterObj http.ResponseWriter, requestObj *http.Request, responseObj response.Response) *RequestProcessed
func (*RequestProcessed) SetResponse ¶
func (e *RequestProcessed) SetResponse(responseObj response.Response)
type RequestReceived ¶
type RequestReceived struct { RequestHolder StoppingRespondent }
func NewRequestReceived ¶
func NewRequestReceived(responseWriterObj http.ResponseWriter, requestObj *http.Request) *RequestReceived
type RequestTermination ¶
type RequestTermination struct { RequestHolder ResponseHolder commonEvents.Propagator }
func NewRequestTermination ¶
func NewRequestTermination(requestObj *http.Request, responseObj response.Response) *RequestTermination
type Respondent ¶
type Respondent struct {
ResponseHolder
}
Respondent Provides access to response and allows response setting/replacement
func (*Respondent) SetResponse ¶
func (r *Respondent) SetResponse(responseObj response.Response)
type ResponseBeforeSend ¶
type ResponseBeforeSend struct { RequestHolder ResponseHolder commonEvents.Propagator }
func NewResponseBeforeSend ¶
func NewResponseBeforeSend(responseWriterObj http.ResponseWriter, requestObj *http.Request, responseObj response.Response) *ResponseBeforeSend
type ResponseHolder ¶
type ResponseHolder struct {
// contains filtered or unexported fields
}
ResponseHolder Provides access to response but does not allow response changes
func (*ResponseHolder) GetResponse ¶
func (r *ResponseHolder) GetResponse() response.Response
type RuntimeError ¶
type RuntimeError struct { RequestHolder StoppingRespondent // contains filtered or unexported fields }
func NewRuntimeError ¶
func NewRuntimeError(responseWriterObj http.ResponseWriter, requestObj *http.Request, errorObj *kernelError.RuntimeError) *RuntimeError
func (*RuntimeError) GetError ¶
func (e *RuntimeError) GetError() *kernelError.RuntimeError
type StoppingRespondent ¶
type StoppingRespondent struct { Respondent commonEvent.Propagator }
StoppingRespondent Provides access to response, allows response setting/replacement, interrupts event propagation after response is set
func (*StoppingRespondent) SetResponse ¶
func (sr *StoppingRespondent) SetResponse(responseObj response.Response)
Click to show internal directories.
Click to hide internal directories.