util

package
v0.0.0-...-2bcb355 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescriptionAndCodeAsJSON

func DescriptionAndCodeAsJSON(code string, description string, a ...interface{}) string

func DescriptionAsJSON

func DescriptionAsJSON(description string, a ...interface{}) string

func FprintDescriptionAndCodeAsJSON

func FprintDescriptionAndCodeAsJSON(responseWriter http.ResponseWriter, code string, description string, a ...interface{})

func FprintDescriptionAsJSON

func FprintDescriptionAsJSON(responseWriter http.ResponseWriter, description string, a ...interface{})

Types

type SafeCloser

type SafeCloser bool

func (*SafeCloser) Close

func (safeCloser *SafeCloser) Close(closer io.Closer) error

Jump to

Keyboard shortcuts

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