reFastHttpFixture

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decoder

func Decoder() serialization.Decoder

func Encoder

func Encoder() serialization.Encoder

func FailDecoder

func FailDecoder(err error) serialization.Decoder

func FailEncoder

func FailEncoder(err error) serialization.Encoder

Types

type Fixture

type Fixture struct {
	*fasthttp.Server
	// contains filtered or unexported fields
}

func New

func New(t *testing.T, handler fasthttp.RequestHandler) *Fixture

func (*Fixture) Address

func (fx *Fixture) Address() string

func (*Fixture) Finish

func (fx *Fixture) Finish()

Jump to

Keyboard shortcuts

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