webutil

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2018 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseURL

func ParseURL(t *testing.T, tsURL string) (string, int)

ParseURL parses tsURL, triggering a failure on t if it is not possible to do so.

func WriteJSON

func WriteJSON(w http.ResponseWriter, i interface{})

Write the given struct as JSON into w.

Types

This section is empty.

Jump to

Keyboard shortcuts

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