shared

package
v0.0.0-...-30d0eab Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestInfo

type RequestInfo struct {
	Method  string
	Path    string
	Query   RequestParamsMulti
	Cookies RequestParams
	Headers RequestParamsMulti
}

func (*RequestInfo) IsNil

func (u *RequestInfo) IsNil() bool

func (*RequestInfo) MarshalJSONObject

func (u *RequestInfo) MarshalJSONObject(enc *gojay.Encoder)

func (*RequestInfo) NKeys

func (u *RequestInfo) NKeys() int

func (*RequestInfo) UnmarshalJSONObject

func (u *RequestInfo) UnmarshalJSONObject(dec *gojay.Decoder, key string) error

implement gojay.UnmarshalerJSONObject

type RequestParams

type RequestParams map[string]string

func (RequestParams) IsNil

func (m RequestParams) IsNil() bool

func (RequestParams) MarshalJSONObject

func (m RequestParams) MarshalJSONObject(enc *gojay.Encoder)

func (RequestParams) NKeys

func (m RequestParams) NKeys() int

func (RequestParams) UnmarshalJSONObject

func (m RequestParams) UnmarshalJSONObject(dec *gojay.Decoder, k string) error

type RequestParamsMulti

type RequestParamsMulti map[string]RequestParamsMultiValues

func (RequestParamsMulti) IsNil

func (m RequestParamsMulti) IsNil() bool

func (RequestParamsMulti) MarshalJSONObject

func (m RequestParamsMulti) MarshalJSONObject(enc *gojay.Encoder)

func (RequestParamsMulti) NKeys

func (m RequestParamsMulti) NKeys() int

func (RequestParamsMulti) UnmarshalJSONObject

func (m RequestParamsMulti) UnmarshalJSONObject(dec *gojay.Decoder, k string) error

type RequestParamsMultiValues

type RequestParamsMultiValues []string

func (RequestParamsMultiValues) IsNil

func (u RequestParamsMultiValues) IsNil() bool

func (RequestParamsMultiValues) MarshalJSONArray

func (u RequestParamsMultiValues) MarshalJSONArray(enc *gojay.Encoder)

func (*RequestParamsMultiValues) UnmarshalJSONArray

func (t *RequestParamsMultiValues) UnmarshalJSONArray(dec *gojay.Decoder) error

implement UnmarshalerJSONArray

Jump to

Keyboard shortcuts

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