infra

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package infra code generated by 'freedom new-project base'

Package infra code generated by 'freedom new-project base'

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONResponse added in v1.3.9

type JSONResponse struct {
	Code  int
	Error error

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

JSONResponse .

func (JSONResponse) Dispatch added in v1.3.9

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

Dispatch .

type Request added in v1.7.4

type Request struct {
	freedom.Infra
}

Request .

func (*Request) BeginRequest added in v1.7.4

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

BeginRequest .

func (*Request) ReadForm added in v1.7.4

func (req *Request) ReadForm(obj interface{}) error

ReadForm .

func (*Request) ReadJSON added in v1.7.4

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

ReadJSON .

func (*Request) ReadQuery added in v1.7.4

func (req *Request) ReadQuery(obj interface{}) error

ReadQuery .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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