Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
Request is an abstraction over the underlying http.Request. This abstraction is useful because it allows us to create applications without being aware of the transport. cmd.Request is another such abstraction.
func NewRequest ¶
type Responder ¶
type Responder struct {
// contains filtered or unexported fields
}
func NewResponder ¶
func NewResponder(w http.ResponseWriter) *Responder
func (Responder) HTTPStatusFromError ¶
Click to show internal directories.
Click to hide internal directories.