benchmarks

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SmallFixture = []byte(`{"st": 1,"sid": 486,"tt": "active","gr": 0,"uuid": "de305d54-75b4-431b-adb2-eb6b9e546014","ip": "127.0.0.1","ua": "user_agent","tz": -6,"v": 1}`)

Functions

This section is empty.

Types

type SmallPayload

type SmallPayload struct {
	St   int
	Sid  int
	Tt   string
	Gr   int
	Uuid string
	Ip   string
	Ua   string
	Tz   int
	V    int
}

ffjson:skip

func NewSmallPayload

func NewSmallPayload() *SmallPayload

func (*SmallPayload) IsNil

func (t *SmallPayload) IsNil() bool

func (*SmallPayload) MarshalJSONObject

func (t *SmallPayload) MarshalJSONObject(enc *gojay.Encoder)

func (*SmallPayload) NKeys

func (t *SmallPayload) NKeys() int

func (*SmallPayload) UnmarshalJSONObject

func (t *SmallPayload) UnmarshalJSONObject(dec *gojay.Decoder, key string) error

type SmallPayloadFFJson

type SmallPayloadFFJson struct {
	St   int
	Sid  int
	Tt   string
	Gr   int
	Uuid string
	Ip   string
	Ua   string
	Tz   int
	V    int
}

func NewSmallPayloadFFJson

func NewSmallPayloadFFJson() *SmallPayloadFFJson

Jump to

Keyboard shortcuts

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