infra

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONRequest added in v1.3.9

type JSONRequest struct {
	freedom.Infra
}

JSONRequest .

func (*JSONRequest) BeginRequest added in v1.3.9

func (req *JSONRequest) BeginRequest(rt freedom.Runtime)

BeginRequest .

func (*JSONRequest) ReadBodyJSON added in v1.3.9

func (req *JSONRequest) ReadBodyJSON(obj interface{}) error

ReadBodyJSON .

func (*JSONRequest) ReadQueryJSON added in v1.3.9

func (req *JSONRequest) ReadQueryJSON(obj interface{}) error

ReadQueryJSON .

type JSONResponse added in v1.3.9

type JSONResponse struct {
	Code  int
	Error error

	Object interface{}
	// contains filtered or unexported fields
}

func (JSONResponse) Dispatch added in v1.3.9

func (jrep JSONResponse) Dispatch(ctx context.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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