infra

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 6 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{}
	DisableLogOutput bool
}

JSONResponse .

func (JSONResponse) Dispatch added in v1.3.9

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