mocks

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockClientStream

func NewMockClientStream() grpc.ClientStream

Types

type MockClientStream

type MockClientStream struct{}

func (*MockClientStream) CloseSend

func (s *MockClientStream) CloseSend() error

func (*MockClientStream) Context

func (s *MockClientStream) Context() context.Context

func (*MockClientStream) Header

func (s *MockClientStream) Header() (metadata.MD, error)

func (*MockClientStream) RecvMsg

func (s *MockClientStream) RecvMsg(m interface{}) error

func (*MockClientStream) SendMsg

func (s *MockClientStream) SendMsg(m interface{}) error

func (*MockClientStream) Trailer

func (s *MockClientStream) Trailer() metadata.MD

type MockFerpService

type MockFerpService struct {
	// contains filtered or unexported fields
}

func NewService

func NewService() *MockFerpService

func (*MockFerpService) NewSubscribeTransactionsMockData

func (s *MockFerpService) NewSubscribeTransactionsMockData() chan<- *ferprpc.SubscribeRatesResponse

type MockSubscribeRatesClient

type MockSubscribeRatesClient struct {
	grpc.ClientStream
	// contains filtered or unexported fields
}

func (*MockSubscribeRatesClient) Recv

Jump to

Keyboard shortcuts

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