util

package
v0.0.0-...-9dabdb3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Utility package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromJSON

func FromJSON(b []byte) (interface{}, error)

FromJSON parses JSON from an array

func FromJSONStream

func FromJSONStream(r io.Reader) (interface{}, error)

FromJSONStream parses JSON from a stream

func GetRequestIdHeader

func GetRequestIdHeader(h map[string][]string) (string, error)

func ToJSONStream

func ToJSONStream(i interface{}) (io.Reader, error)

ToJSON converts an object to JSON stream

func ToString

func ToString(v interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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