package testing
import "cloud.google.com/go/logging/internal/testing"
Package testing provides support for testing the logging client.
Index ¶
Functions ¶
func NewServer ¶
NewServer creates a new in-memory fake server implementing the logging service. It returns the address of the server.
func PayloadEqual ¶
func PayloadEqual(a, b interface{}) bool
Compare two payloads, assuming they are both proto.Messages or both strings.
Source Files ¶
equal.go fake.go
- Version
- v0.18.0
- Published
- Jan 19, 2018
- Platform
- windows/amd64
- Imports
- 15 packages
- Last checked
- 19 minutes ago –
Tools for package owners.