prototest

package
v0.4.36 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchmarkRequest

func BenchmarkRequest(b *testing.B, version int16, msg protocol.Message)

func BenchmarkResponse

func BenchmarkResponse(b *testing.B, version int16, msg protocol.Message)

func Bytes

func Bytes(b []byte) protocol.Bytes

Bytes constructs a Bytes which exposes the content of b.

func String

func String(s string) protocol.Bytes

String constructs a Bytes which exposes the content of s.

func TestRequest

func TestRequest(t *testing.T, version int16, msg protocol.Message)

func TestResponse

func TestResponse(t *testing.T, version int16, msg protocol.Message)

Types

This section is empty.

Jump to

Keyboard shortcuts

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