memory

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package memory provides an in-memory implementation of the Gossip Transport adapter, meant for usage in fast tests that should not use the TCP-based adapter, such as acceptance tests or sociable unit tests, or in other in-process network use cases

Index

Constants

View Source
const SEND_QUEUE_MAX_MESSAGES = 1000

Variables

This section is empty.

Functions

func NewTransport

func NewTransport(ctx context.Context, logger log.BasicLogger, validators map[string]config.ValidatorNode) *memoryTransport

Types

This section is empty.

Jump to

Keyboard shortcuts

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