Documentation
¶
Index ¶
- func BenchmarkDecode[T any](b *testing.B, opt EncodingOptions[T])
- func BenchmarkEncode[T any](b *testing.B, opt EncodingOptions[T])
- func BenchmarkEncoding[T any](b *testing.B, opt EncodingOptions[T])
- func NewRequest(method, url, body string, header map[string]string) *fasthttp.RequestCtx
- func TestDecode[T any](t *testing.T, opt EncodingOptions[T])
- func TestEncode[T any](t *testing.T, opt EncodingOptions[T])
- func TestEncoding[T any](t *testing.T, opt EncodingOptions[T])
- func TestRouter(t *testing.T, r don.Router, handler fasthttp.RequestHandler, basePath string)
- type EncodingOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BenchmarkDecode ¶
func BenchmarkDecode[T any](b *testing.B, opt EncodingOptions[T])
func BenchmarkEncode ¶
func BenchmarkEncode[T any](b *testing.B, opt EncodingOptions[T])
func BenchmarkEncoding ¶
func BenchmarkEncoding[T any](b *testing.B, opt EncodingOptions[T])
func NewRequest ¶
func NewRequest(method, url, body string, header map[string]string) *fasthttp.RequestCtx
NewRequest returns a new fasthttp.RequestCtx with the given method, url, body and header.
func TestDecode ¶
func TestDecode[T any](t *testing.T, opt EncodingOptions[T])
func TestEncode ¶
func TestEncode[T any](t *testing.T, opt EncodingOptions[T])
func TestEncoding ¶
func TestEncoding[T any](t *testing.T, opt EncodingOptions[T])
func TestRouter ¶
Types ¶
type EncodingOptions ¶
Click to show internal directories.
Click to hide internal directories.