Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RedirectResponse ¶
type RedirectResponse struct {
*Response
// contains filtered or unexported fields
}
func Redirect ¶
func Redirect(destination string, status int) *RedirectResponse
func (*RedirectResponse) SetTargetUrl ¶
func (r *RedirectResponse) SetTargetUrl(url string)
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
func NewResponse ¶
func NewResponse() *Response
Click to show internal directories.
Click to hide internal directories.