Documentation ¶
Overview ¶
Package carbonapi_v2 defines encoding and decoding methods for Find, Info and Render responses.
It uses a modified version 2 of the carbonapi protocol buffer schema that is compatible with the original one.
Index ¶
- func FindDecoder(blob []byte) (types.Matches, error)
- func FindEncoder(matches types.Matches) ([]byte, error)
- func InfoEncoder(infos []types.Info) ([]byte, error)
- func IsInfoResponse(blob []byte) (bool, error)
- func MultiInfoDecoder(blob []byte) ([]types.Info, error)
- func RenderDecoder(blob []byte) ([]types.Metric, error)
- func RenderEncoder(metrics []types.Metric) ([]byte, error)
- func SingleInfoDecoder(blob []byte, host string) ([]types.Info, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInfoResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.