requests

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBool

func GetBool(parameterName string, ctx *fasthttp.RequestCtx) (result bool, ok bool)

GetBool todo

func GetFloat64

func GetFloat64(parameterName string, ctx *fasthttp.RequestCtx) (result float64, ok bool)

GetFloat64 todo

func GetInt64

func GetInt64(parameterName string, ctx *fasthttp.RequestCtx) (result int64, ok bool)

GetInt64 todo

func GetString

func GetString(parameterName string, ctx *fasthttp.RequestCtx) (result string, ok bool)

GetString todo

func ValidateRequestSchema added in v0.2.0

func ValidateRequestSchema(ctx *fasthttp.RequestCtx, schema string) bool

ValidateRequestSchema checks a conext post body for validity to a given json schema

Types

type ParsedURL added in v0.1.1

type ParsedURL struct {
	Scheme    string
	Subdomain string
	Host      string
	Port      string
	Path      string
	Fragment  string
}

func NewParsedURL added in v0.1.1

func NewParsedURL(rawURL string) (*ParsedURL, error)

Jump to

Keyboard shortcuts

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