pickle

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 pickle defines encoding methods for Find and Render responses.

The package does not define decoding methods or methods for handling Info responses:

  • The /info endpoint is a carbonapi invention. It's unlikely that any Python stack will know about it.
  • For now, we do not expect to talk to Python stores. Patches to let us do that are welcome.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindEncoderV0_9

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

FindEncoderV0_9 encodes a Find response in a format that graphite-web 0.9.x can understand.

func FindEncoderV1_0

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

FindEncoderV1_0 encodes a Find response in a format that graphite-web 0.1 can understand.

func RenderEncoder

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

RenderEncoder encodes a Render response in a format graphite-web can understand.

Types

This section is empty.

Jump to

Keyboard shortcuts

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