infra

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: Apache-2.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 JSONRequest added in v1.3.9

type JSONRequest struct {
	freedom.Infra
}

JSONRequest .

func (*JSONRequest) BeginRequest added in v1.3.9

func (req *JSONRequest) BeginRequest(worker freedom.Worker)

BeginRequest .

func (*JSONRequest) ReadJSON added in v1.7.1

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

ReadJSON .

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