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.12.0
Published
Aug 22, 2017
Platform
windows/amd64
Imports
16 packages
Last checked
1 hour ago

Tools for package owners.