Documentation ¶
Overview ¶
Package escape contains utilities for escaping parts of InfluxQL and InfluxDB line protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Codes = map[byte][]byte{ ',': []byte(`\,`), '"': []byte(`\"`), ' ': []byte(`\ `), '=': []byte(`\=`), }
Codes is a map of bytes to be escaped.
Functions ¶
func AppendUnescaped ¶
AppendUnescaped appends the unescaped version of src to dst and returns the resulting slice.
func IsEscaped ¶
IsEscaped returns whether b has any escaped characters, i.e. whether b seems to have been processed by Bytes.
func UnescapeString ¶
UnescapeString returns unescaped version of in.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.