package
0.1.4
Repository: https://github.com/sstarcher/newrelic-cli.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetNewRelicClient returns a NewRelicClient, if env var NEW_RELIC_APIKEY is set.
GuessJSONStream scans the provided reader up to size, looking for an open brace indicating this is JSON.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewDocumentDecoder decodes YAML documents from the provided stream in chunks by converting each document (as defined by the YAML spec) into its own chunk.
No description provided by the author
NewYAMLOrJSONDecoder returns a decoder that will process YAML documents or JSON documents from the given reader as a stream.
No description provided by the author
NewYAMLToJSONDecoder decodes YAML documents from the provided stream in chunks by converting each document (as defined by the YAML spec) into its own chunk, converting it to JSON via yaml.YAMLToJSON, and then passing it to json.Decoder.
ToJSON converts a single YAML document into a JSON document or returns an error.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
YAMLDecoder reads chunks of objects and returns ErrShortBuffer if the data is not sufficient.
YAMLOrJSONDecoder attempts to decode a stream of JSON documents or YAML documents by sniffing for a leading { character.
No description provided by the author
No description provided by the author
No description provided by the author
YAMLToJSONDecoder decodes YAML documents from an io.Reader by separating individual documents.

# Interfaces

No description provided by the author
No description provided by the author