Discover Packages
github.com/ep-infosec/50_google_web-bsd-hunt
third_party
src
cloud.google.com
go
preview
logging
internal
testing
package
Version:
v0.0.0-...-0e76970
Opens a new window with list of versions in this module.
Published: Dec 13, 2022
License: Apache-2.0, 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.