Versions in this module Expand all Collapse all v1 v1.4.1 Apr 11, 2019 Changes in this version + type NewSemaphore struct + Stub func(int) comm.Semaphore + func (fake *NewSemaphore) ArgsForCall(i int) int + func (fake *NewSemaphore) CallCount() int + func (fake *NewSemaphore) Calls(stub func(int) comm.Semaphore) + func (fake *NewSemaphore) Invocations() map[string][][]interface{} + func (fake *NewSemaphore) Returns(result1 comm.Semaphore) + func (fake *NewSemaphore) ReturnsOnCall(i int, result1 comm.Semaphore) + func (fake *NewSemaphore) Spy(arg1 int) comm.Semaphore + type Semaphore struct + AcquireStub func(context.Context) error + ReleaseStub func() + func (fake *Semaphore) Acquire(arg1 context.Context) error + func (fake *Semaphore) AcquireArgsForCall(i int) context.Context + func (fake *Semaphore) AcquireCallCount() int + func (fake *Semaphore) AcquireCalls(stub func(context.Context) error) + func (fake *Semaphore) AcquireReturns(result1 error) + func (fake *Semaphore) AcquireReturnsOnCall(i int, result1 error) + func (fake *Semaphore) Invocations() map[string][][]interface{} + func (fake *Semaphore) Release() + func (fake *Semaphore) ReleaseCallCount() int + func (fake *Semaphore) ReleaseCalls(stub func()) + type ServerStream struct + ContextStub func() context.Context + RecvMsgStub func(interface{}) error + SendHeaderStub func(metadata.MD) error + SendMsgStub func(interface{}) error + SetHeaderStub func(metadata.MD) error + SetTrailerStub func(metadata.MD) + func (fake *ServerStream) Context() context.Context + func (fake *ServerStream) ContextCallCount() int + func (fake *ServerStream) ContextCalls(stub func() context.Context) + func (fake *ServerStream) ContextReturns(result1 context.Context) + func (fake *ServerStream) ContextReturnsOnCall(i int, result1 context.Context) + func (fake *ServerStream) Invocations() map[string][][]interface{} + func (fake *ServerStream) RecvMsg(arg1 interface{}) error + func (fake *ServerStream) RecvMsgArgsForCall(i int) interface{} + func (fake *ServerStream) RecvMsgCallCount() int + func (fake *ServerStream) RecvMsgCalls(stub func(interface{}) error) + func (fake *ServerStream) RecvMsgReturns(result1 error) + func (fake *ServerStream) RecvMsgReturnsOnCall(i int, result1 error) + func (fake *ServerStream) SendHeader(arg1 metadata.MD) error + func (fake *ServerStream) SendHeaderArgsForCall(i int) metadata.MD + func (fake *ServerStream) SendHeaderCallCount() int + func (fake *ServerStream) SendHeaderCalls(stub func(metadata.MD) error) + func (fake *ServerStream) SendHeaderReturns(result1 error) + func (fake *ServerStream) SendHeaderReturnsOnCall(i int, result1 error) + func (fake *ServerStream) SendMsg(arg1 interface{}) error + func (fake *ServerStream) SendMsgArgsForCall(i int) interface{} + func (fake *ServerStream) SendMsgCallCount() int + func (fake *ServerStream) SendMsgCalls(stub func(interface{}) error) + func (fake *ServerStream) SendMsgReturns(result1 error) + func (fake *ServerStream) SendMsgReturnsOnCall(i int, result1 error) + func (fake *ServerStream) SetHeader(arg1 metadata.MD) error + func (fake *ServerStream) SetHeaderArgsForCall(i int) metadata.MD + func (fake *ServerStream) SetHeaderCallCount() int + func (fake *ServerStream) SetHeaderCalls(stub func(metadata.MD) error) + func (fake *ServerStream) SetHeaderReturns(result1 error) + func (fake *ServerStream) SetHeaderReturnsOnCall(i int, result1 error) + func (fake *ServerStream) SetTrailer(arg1 metadata.MD) + func (fake *ServerStream) SetTrailerArgsForCall(i int) metadata.MD + func (fake *ServerStream) SetTrailerCallCount() int + func (fake *ServerStream) SetTrailerCalls(stub func(metadata.MD)) + type StreamHandler struct + Stub func(interface{}, grpc.ServerStream) error + func (fake *StreamHandler) ArgsForCall(i int) (interface{}, grpc.ServerStream) + func (fake *StreamHandler) CallCount() int + func (fake *StreamHandler) Calls(stub func(interface{}, grpc.ServerStream) error) + func (fake *StreamHandler) Invocations() map[string][][]interface{} + func (fake *StreamHandler) Returns(result1 error) + func (fake *StreamHandler) ReturnsOnCall(i int, result1 error) + func (fake *StreamHandler) Spy(arg1 interface{}, arg2 grpc.ServerStream) error + type UnaryHandler struct + Stub func(context.Context, interface{}) (interface{}, error) + func (fake *UnaryHandler) ArgsForCall(i int) (context.Context, interface{}) + func (fake *UnaryHandler) CallCount() int + func (fake *UnaryHandler) Calls(stub func(context.Context, interface{}) (interface{}, error)) + func (fake *UnaryHandler) Invocations() map[string][][]interface{} + func (fake *UnaryHandler) Returns(result1 interface{}, result2 error) + func (fake *UnaryHandler) ReturnsOnCall(i int, result1 interface{}, result2 error) + func (fake *UnaryHandler) Spy(arg1 context.Context, arg2 interface{}) (interface{}, error) v1.4.1-rc1 Mar 29, 2019