Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EcmaEscape ¶
EcmaEscape is an implementation of javascript's deprecated escape() function
func FragmentEscape ¶
FragmentEscape escapes a string for use in aws url fragments
func InsightsURL ¶
func InsightsURL(region string, opt InsightsOptions) string
func QueryEscape ¶
Go's url.QueryEscape differes from javascript's encodeURIComponent. It does follow the spec, but it causes issues with the aws urls.
Types ¶
type InsightsOptions ¶
type QueryDetails ¶
QueryDetails encodes key/value pairs into the format used in aws log insights urls.
func (QueryDetails) Add ¶
func (q QueryDetails) Add(key, value string, quote bool)
Add a value to the specified key. The quote parameter indicates if the provided value should be quoted.
func (QueryDetails) Encode ¶
func (q QueryDetails) Encode() string
Encode returns the key/values as an encoded string.
Click to show internal directories.
Click to hide internal directories.