testing

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package testing provides support for testing the logging client.

Index

Constants

This section is empty.

Variables

This section is empty.

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 added in v0.8.0

func PayloadEqual(a, b interface{}) bool

Compare two payloads, assuming they are both proto.Messages or both strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL