test

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchmarkDecode added in v0.2.0

func BenchmarkDecode[T any](b *testing.B, opt EncodingOptions[T])

func BenchmarkEncode added in v0.2.0

func BenchmarkEncode[T any](b *testing.B, opt EncodingOptions[T])

func BenchmarkEncoding added in v0.2.0

func BenchmarkEncoding[T any](b *testing.B, opt EncodingOptions[T])

func Decode

func Decode[T any](t *testing.T, opt EncodingOptions[T])

func Encode

func Encode[T any](t *testing.T, opt EncodingOptions[T])

func Encoding

func Encoding[T any](t *testing.T, opt EncodingOptions[T])

func Router added in v0.1.3

func Router(t *testing.T, r don.Router, handler fasthttp.RequestHandler, basePath string)

Types

type EncodingOptions added in v0.2.0

type EncodingOptions[T any] struct {
	Mime   string
	Parsed T
	Raw    string
}

Jump to

Keyboard shortcuts

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