scflib

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindQuery

func BindQuery(qs events.APIGatewayQueryString, ptr interface{}) error

type queryBinding struct{}.

func GetReqID

func GetReqID(qs events.APIGatewayQueryString) (id uint)

func GetReqParm

func GetReqParm(qs events.APIGatewayQueryString) (pageNo, pageSize uint)

func ToHTML

func ToHTML(statusCode int, msg string) (resp events.APIGatewayResponse)

Types

type ListReq

type ListReq struct {
	// PageNo   uint `url:"page_no"`
	// PageSize uint `url:"page_size"`
	PageNo   uint `json:"p"`
	PageSize uint `url:"from"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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