mockserver

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultErrCode = 99

	MethodGetInt64     = "mock.GetInt64"
	MethodGetFloat64   = "mock.GetFloat64"
	MethodGetBool      = "mock.GetBool"
	MethodGetString    = "mock.GetString"
	MethodReadToObject = "mock.ReadToObject"

	MethodGetStdErr    = "mock.GetStdErr"
	MethodGetStringErr = "mock.GetStringErr"

	ExtensionRawRequest = "raw_request"
)

mock server constants

Variables

This section is empty.

Functions

func Close

func Close() error

Close mock server

func Run

func Run(addr ...string) error

Run mock server

Types

This section is empty.

Jump to

Keyboard shortcuts

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