mocks

package
v0.0.0-...-8220f0d Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	mock.Mock
}

Cache is an autogenerated mock type for the Cache type

func (*Cache) Close

func (_m *Cache) Close()

Close provides a mock function with given fields:

func (*Cache) WriteRequest

func (_m *Cache) WriteRequest(nodeID uint64, msg *service.Message, timeout time.Duration, ack bool, cb func(uint64, *service.Message)) (uint64, error)

WriteRequest provides a mock function with given fields: nodeID, msg, timeout, ack, cb

type Pool

type Pool struct {
	mock.Mock
}

Pool is an autogenerated mock type for the Pool type

func (*Pool) Borrow

func (_m *Pool) Borrow() conns.Cache

Borrow provides a mock function with given fields:

func (*Pool) Close

func (_m *Pool) Close()

Close provides a mock function with given fields:

func (*Pool) MessageAckPending

func (_m *Pool) MessageAckPending() int

MessageAckPending provides a mock function with given fields:

Jump to

Keyboard shortcuts

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