json

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package json defines encoding and decoding methods for Find, Info and Render responses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindEncoder

func FindEncoder(matches types.Matches) ([]byte, error)

func InfoDecoder

func InfoDecoder(blob []byte) ([]types.Info, error)

func InfoEncoder

func InfoEncoder(infos []types.Info) ([]byte, error)

func RenderDecoder

func RenderDecoder(blob []byte) ([]types.Metric, error)

func RenderEncoder

func RenderEncoder(metrics []types.Metric) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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