package testing

import "cloud.google.com/go/logging/internal/testing"

Package testing provides support for testing the logging client.

Index

Functions

func NewServer

func NewServer() (string, error)

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.20.0
Published
Mar 22, 2018
Platform
windows/amd64
Imports
15 packages
Last checked
1 hour ago

Tools for package owners.