Documentation ¶
Overview ¶
Package codecmock is a generated GoMock package.
Index ¶
- type Manager
- func (m *Manager) EXPECT() *ManagerMockRecorder
- func (m *Manager) Marshal(arg0 uint16, arg1 any) ([]byte, error)
- func (m *Manager) RegisterCodec(arg0 uint16, arg1 codec.Codec) error
- func (m *Manager) Size(arg0 uint16, arg1 any) (int, error)
- func (m *Manager) Unmarshal(arg0 []byte, arg1 any) (uint16, error)
- type ManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is a mock of Manager interface.
func NewManager ¶
func NewManager(ctrl *gomock.Controller) *Manager
NewManager creates a new mock instance.
func (*Manager) EXPECT ¶
func (m *Manager) EXPECT() *ManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Manager) RegisterCodec ¶
RegisterCodec mocks base method.
type ManagerMockRecorder ¶
type ManagerMockRecorder struct {
// contains filtered or unexported fields
}
ManagerMockRecorder is the mock recorder for Manager.
func (*ManagerMockRecorder) Marshal ¶
func (mr *ManagerMockRecorder) Marshal(arg0, arg1 any) *gomock.Call
Marshal indicates an expected call of Marshal.
func (*ManagerMockRecorder) RegisterCodec ¶
func (mr *ManagerMockRecorder) RegisterCodec(arg0, arg1 any) *gomock.Call
RegisterCodec indicates an expected call of RegisterCodec.
Click to show internal directories.
Click to hide internal directories.