Documentation ¶
Index ¶
- Variables
- func ConstructMockRequestWithHeaders(headers map[string][]string) *http.Request
- func Hash(str, salt string) string
- func InSlice(a string, list []string) bool
- func ReMarshal(config interface{}, target interface{}) error
- func SortedKeys(obj map[string]interface{}) []string
- type M
- type Request
Constants ¶
This section is empty.
Variables ¶
View Source
var Log logger.KayveeLogger
Log is a Kayvee.Logger singleton to be used in Sphinx
Functions ¶
func ConstructMockRequestWithHeaders ¶
ConstructMockRequestWithHeaders constructs an http.Request with the given headers
func ReMarshal ¶
func ReMarshal(config interface{}, target interface{}) error
ReMarshal parses interface{} into concrete types
func SortedKeys ¶
SortedKeys returns a sorted slice of map keys
Types ¶
type M ¶ added in v0.5.2
type M map[string]interface{}
M is an alias for map[String]interface{} to make log lines less painful to write.
func ConcatWithRequest ¶ added in v0.5.2
ConcatWithRequest concats the request to a given map[String]interface{} for use with Kayvee
Click to show internal directories.
Click to hide internal directories.