Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestId ¶
type RequestId string
RequestId is used for tagging each incoming http request for logging purposes. The actual implementation is just the ObjectId implementation found in launchpad.net/mgo/bson. This will most likely change and evolve into its own format.
func NewObjectId ¶
func NewObjectId() RequestId
NewObjectId returns a new unique ObjectId. This function causes a runtime error if it fails to get the hostname of the current machine.
Click to show internal directories.
Click to hide internal directories.