codecmock

package
v1.11.12-rc.7 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package codecmock is a generated GoMock package.

Index

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) Marshal

func (m *Manager) Marshal(arg0 uint16, arg1 any) ([]byte, error)

Marshal mocks base method.

func (*Manager) RegisterCodec

func (m *Manager) RegisterCodec(arg0 uint16, arg1 codec.Codec) error

RegisterCodec mocks base method.

func (*Manager) Size

func (m *Manager) Size(arg0 uint16, arg1 any) (int, error)

Size mocks base method.

func (*Manager) Unmarshal

func (m *Manager) Unmarshal(arg0 []byte, arg1 any) (uint16, error)

Unmarshal 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.

func (*ManagerMockRecorder) Size

func (mr *ManagerMockRecorder) Size(arg0, arg1 any) *gomock.Call

Size indicates an expected call of Size.

func (*ManagerMockRecorder) Unmarshal

func (mr *ManagerMockRecorder) Unmarshal(arg0, arg1 any) *gomock.Call

Unmarshal indicates an expected call of Unmarshal.

Jump to

Keyboard shortcuts

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