Documentation
¶
Overview ¶
Package util contains helper functions and data structures.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignRequestUID ¶
AttachRequestID will attach a brand new request ID to a http request
func GetRequestUID ¶
GetRequestID will get reqID from a http request and return it as a string
func PrepocessPoliciesInDir ¶
Types ¶
type OpStack ¶
type OpStack [][]string
Stack of string slices. Panics if operations (like Pop()) are performed on an empty stack.
This stack also contains debug logs.
func (OpStack) AppendToTop ¶
Appends a new string to the top slice of the stack.
Click to show internal directories.
Click to hide internal directories.