Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Marshaller
- func (fake *Marshaller) Invocations() map[string][][]interface{}
- func (fake *Marshaller) Marshal(arg1 any) ([]byte, error)
- func (fake *Marshaller) MarshalArgsForCall(i int) any
- func (fake *Marshaller) MarshalCallCount() int
- func (fake *Marshaller) MarshalCalls(stub func(any) ([]byte, error))
- func (fake *Marshaller) MarshalReturns(result1 []byte, result2 error)
- func (fake *Marshaller) MarshalReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Marshaller) Unmarshal(arg1 []byte, arg2 any) error
- func (fake *Marshaller) UnmarshalArgsForCall(i int) ([]byte, any)
- func (fake *Marshaller) UnmarshalCallCount() int
- func (fake *Marshaller) UnmarshalCalls(stub func([]byte, any) error)
- func (fake *Marshaller) UnmarshalReturns(result1 error)
- func (fake *Marshaller) UnmarshalReturnsOnCall(i int, result1 error)
- type Session
- func (fake *Session) Close()
- func (fake *Session) CloseCallCount() int
- func (fake *Session) CloseCalls(stub func())
- func (fake *Session) Info() view.SessionInfo
- func (fake *Session) InfoCallCount() int
- func (fake *Session) InfoCalls(stub func() view.SessionInfo)
- func (fake *Session) InfoReturns(result1 view.SessionInfo)
- func (fake *Session) InfoReturnsOnCall(i int, result1 view.SessionInfo)
- func (fake *Session) Invocations() map[string][][]interface{}
- func (fake *Session) Receive() <-chan *view.Message
- func (fake *Session) ReceiveCallCount() int
- func (fake *Session) ReceiveCalls(stub func() <-chan *view.Message)
- func (fake *Session) ReceiveReturns(result1 <-chan *view.Message)
- func (fake *Session) ReceiveReturnsOnCall(i int, result1 <-chan *view.Message)
- func (fake *Session) Send(arg1 []byte) error
- func (fake *Session) SendArgsForCall(i int) []byte
- func (fake *Session) SendCallCount() int
- func (fake *Session) SendCalls(stub func([]byte) error)
- func (fake *Session) SendError(arg1 []byte) error
- func (fake *Session) SendErrorArgsForCall(i int) []byte
- func (fake *Session) SendErrorCallCount() int
- func (fake *Session) SendErrorCalls(stub func([]byte) error)
- func (fake *Session) SendErrorReturns(result1 error)
- func (fake *Session) SendErrorReturnsOnCall(i int, result1 error)
- func (fake *Session) SendErrorWithContext(arg1 context.Context, arg2 []byte) error
- func (fake *Session) SendErrorWithContextArgsForCall(i int) (context.Context, []byte)
- func (fake *Session) SendErrorWithContextCallCount() int
- func (fake *Session) SendErrorWithContextCalls(stub func(context.Context, []byte) error)
- func (fake *Session) SendErrorWithContextReturns(result1 error)
- func (fake *Session) SendErrorWithContextReturnsOnCall(i int, result1 error)
- func (fake *Session) SendReturns(result1 error)
- func (fake *Session) SendReturnsOnCall(i int, result1 error)
- func (fake *Session) SendWithContext(arg1 context.Context, arg2 []byte) error
- func (fake *Session) SendWithContextArgsForCall(i int) (context.Context, []byte)
- func (fake *Session) SendWithContextCallCount() int
- func (fake *Session) SendWithContextCalls(stub func(context.Context, []byte) error)
- func (fake *Session) SendWithContextReturns(result1 error)
- func (fake *Session) SendWithContextReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marshaller ¶
type Marshaller struct {
MarshalStub func(any) ([]byte, error)
UnmarshalStub func([]byte, any) error
// contains filtered or unexported fields
}
func (*Marshaller) Invocations ¶
func (fake *Marshaller) Invocations() map[string][][]interface{}
func (*Marshaller) MarshalArgsForCall ¶
func (fake *Marshaller) MarshalArgsForCall(i int) any
func (*Marshaller) MarshalCallCount ¶
func (fake *Marshaller) MarshalCallCount() int
func (*Marshaller) MarshalCalls ¶
func (fake *Marshaller) MarshalCalls(stub func(any) ([]byte, error))
func (*Marshaller) MarshalReturns ¶
func (fake *Marshaller) MarshalReturns(result1 []byte, result2 error)
func (*Marshaller) MarshalReturnsOnCall ¶
func (fake *Marshaller) MarshalReturnsOnCall(i int, result1 []byte, result2 error)
func (*Marshaller) UnmarshalArgsForCall ¶
func (fake *Marshaller) UnmarshalArgsForCall(i int) ([]byte, any)
func (*Marshaller) UnmarshalCallCount ¶
func (fake *Marshaller) UnmarshalCallCount() int
func (*Marshaller) UnmarshalCalls ¶
func (fake *Marshaller) UnmarshalCalls(stub func([]byte, any) error)
func (*Marshaller) UnmarshalReturns ¶
func (fake *Marshaller) UnmarshalReturns(result1 error)
func (*Marshaller) UnmarshalReturnsOnCall ¶
func (fake *Marshaller) UnmarshalReturnsOnCall(i int, result1 error)
type Session ¶
type Session struct {
CloseStub func()
InfoStub func() view.SessionInfo
ReceiveStub func() <-chan *view.Message
SendStub func([]byte) error
SendErrorStub func([]byte) error
SendErrorWithContextStub func(context.Context, []byte) error
SendWithContextStub func(context.Context, []byte) error
// contains filtered or unexported fields
}
func (*Session) CloseCallCount ¶
func (*Session) CloseCalls ¶
func (fake *Session) CloseCalls(stub func())
func (*Session) Info ¶
func (fake *Session) Info() view.SessionInfo
func (*Session) InfoCallCount ¶
func (*Session) InfoCalls ¶
func (fake *Session) InfoCalls(stub func() view.SessionInfo)
func (*Session) InfoReturns ¶
func (fake *Session) InfoReturns(result1 view.SessionInfo)
func (*Session) InfoReturnsOnCall ¶
func (fake *Session) InfoReturnsOnCall(i int, result1 view.SessionInfo)
func (*Session) Invocations ¶
func (*Session) ReceiveCallCount ¶
func (*Session) ReceiveCalls ¶
func (*Session) ReceiveReturns ¶
func (*Session) ReceiveReturnsOnCall ¶
func (*Session) SendArgsForCall ¶
func (*Session) SendCallCount ¶
func (*Session) SendErrorArgsForCall ¶
func (*Session) SendErrorCallCount ¶
func (*Session) SendErrorCalls ¶
func (*Session) SendErrorReturns ¶
func (*Session) SendErrorReturnsOnCall ¶
func (*Session) SendErrorWithContext ¶
func (*Session) SendErrorWithContextArgsForCall ¶
func (*Session) SendErrorWithContextCallCount ¶
func (*Session) SendErrorWithContextCalls ¶
func (*Session) SendErrorWithContextReturns ¶
func (*Session) SendErrorWithContextReturnsOnCall ¶
func (*Session) SendReturns ¶
func (*Session) SendReturnsOnCall ¶
func (*Session) SendWithContext ¶
func (*Session) SendWithContextArgsForCall ¶
func (*Session) SendWithContextCallCount ¶
func (*Session) SendWithContextCalls ¶
func (*Session) SendWithContextReturns ¶
func (*Session) SendWithContextReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.