mocks

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpSession added in v2.1.0

type OpSession struct {
	mock.Mock
}

OpSession is an autogenerated mock type for the OpSession type

func (*OpSession) Close added in v2.1.0

func (_m *OpSession) Close()

Close provides a mock function with given fields:

func (*OpSession) Execute added in v2.1.0

func (_m *OpSession) Execute(req common.Request) (*common.RPCReply, error)

Execute provides a mock function with given fields: req

func (*OpSession) ExecuteAsync added in v2.1.0

func (_m *OpSession) ExecuteAsync(req common.Request, rchan chan *common.RPCReply) error

ExecuteAsync provides a mock function with given fields: req, rchan

func (*OpSession) ID added in v2.1.0

func (_m *OpSession) ID() uint64

ID provides a mock function with given fields:

func (*OpSession) ServerCapabilities added in v2.1.0

func (_m *OpSession) ServerCapabilities() []string

ServerCapabilities provides a mock function with given fields:

func (*OpSession) Subscribe added in v2.1.0

func (_m *OpSession) Subscribe(req common.Request, nchan chan *common.Notification) (*common.RPCReply, error)

Subscribe provides a mock function with given fields: req, nchan

type Transport

type Transport struct {
	mock.Mock
}

Transport is an autogenerated mock type for the Transport type

func (*Transport) Close

func (_m *Transport) Close() error

Close provides a mock function with given fields:

func (*Transport) Read

func (_m *Transport) Read(p []byte) (int, error)

Read provides a mock function with given fields: p

func (*Transport) Write

func (_m *Transport) Write(p []byte) (int, error)

Write provides a mock function with given fields: p

Jump to

Keyboard shortcuts

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