Discover Packages
github.com/rupertchen/google-cloud-go
preview
logging
internal
testing
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Oct 3, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package testing provides support for testing the logging client.
ExpiredUniqueIDs returns a subset of ids that are unique IDs as generated by
UniqueID(prefix) and are older than expiredAge.
NewServer creates a new in-memory fake server implementing the logging service.
It returns the address of the server.
UniqueID generates unique IDs so tests don't interfere with each other.
All unique IDs generated in the same test execution will have the same timestamp.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.