testutils

package
v0.3.45 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(t *testing.T, srcDir string) []byte

func StartHTTPServer

func StartHTTPServer(t *testing.T, testDir string) (*http.Client, string, func())

func ToJSON

func ToJSON(data interface{}) (string, error)

ToJSON is used to convert a data structure into JSON format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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