common

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestCtx

type RequestCtx struct {
	QueryString    map[string][]string
	PathVariable   map[string]string
	Request        *http.Request
	Form           *multipart.Form
	Tx             *sql.Tx
	ResponseWriter http.ResponseWriter
	// contains filtered or unexported fields
}

func NewRequestCtx

func NewRequestCtx(queryString map[string][]string, pathVariable map[string]string, request *http.Request, form *multipart.Form, responseWriter http.ResponseWriter, sqls *sql.SQL) *RequestCtx

func (*RequestCtx) BeginTx

func (c *RequestCtx) BeginTx()

func (*RequestCtx) ParseBody

func (c *RequestCtx) ParseBody(dst interface{}) error

Jump to

Keyboard shortcuts

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