http

package module
v0.0.0-...-7444138 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2019 License: MIT Imports: 5 Imported by: 0

README

http

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	App      *foundation.Application
	Original http.Request
}

func NewRequest

func NewRequest(app *foundation.Application, request http.Request) Request

func (Request) Content

func (r Request) Content() string

func (Request) GetMethod

func (r Request) GetMethod() string

func (Request) SetContent

func (r Request) SetContent(content string) Request

type Response

type Response struct {
	// contains filtered or unexported fields
}

func Json

func Json(content string) Response

func NewResponse

func NewResponse() Response

func (Response) Content

func (r Response) Content() string

func (Response) SetContent

func (r Response) SetContent(content string) Response

Jump to

Keyboard shortcuts

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