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 Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) Check

func (_m *Service) Check(ctx context.Context, tx *sbac.Transaction) (bool, error)

Check provides a mock function with given fields: ctx, tx

func (*Service) CheckAndSign

func (_m *Service) CheckAndSign(ctx context.Context, tx *sbac.Transaction) (bool, []byte, error)

CheckAndSign provides a mock function with given fields: ctx, tx

func (*Service) Handle

func (_m *Service) Handle(peerID uint64, msg *service.Message) (*service.Message, error)

Handle provides a mock function with given fields: peerID, msg

func (*Service) Name

func (_m *Service) Name() string

Name 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