apiserver

package
v0.0.0-...-06d2dc3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIServer

func APIServer(t *testing.T, cancel context.CancelFunc, api map[string][]APIAct) (string, func())

Types

type APIAct

type APIAct struct {
	IsJSON   bool // TODO use content type?
	Stream   bool // TODO couple with IsJSON
	Request  string
	Response []byte
}

Jump to

Keyboard shortcuts

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