infra

package
v1.8.11 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 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

type JSONResponse struct {
	Code             int
	Error            error
	Object           interface{}
	DisableLogOutput bool
}

JSONResponse .

func (JSONResponse) Dispatch

func (jrep JSONResponse) Dispatch(ctx freedom.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{}, validates ...bool) error

ReadForm .

func (*Request) ReadJSON added in v1.7.4

func (req *Request) ReadJSON(obj interface{}, validates ...bool) error

ReadJSON .

func (*Request) ReadQuery added in v1.7.4

func (req *Request) ReadQuery(obj interface{}, validates ...bool) error

ReadQuery .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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