Documentation ¶
Overview ¶
Package common contains helper functions to be used around
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOrCreateEventID ¶
GetOrCreateEventID returns eid and context with eid in context metadata
func IPaddress ¶
func IPaddress() string
IPaddress returns first IP address TODO filter by network name...
func RandID ¶
RandID returns a random string with n length source http://stackoverflow.com/questions/22892120/how-to-generate-a-random-string-of-a-fixed-length-in-golang
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.