mock_pdf

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_pdf is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface added in v1.0.0

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

MockInterface is a mock of Interface interface.

func NewMockInterface added in v1.0.0

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) AddTextWatermark added in v1.0.0

func (m *MockInterface) AddTextWatermark(ctx context.Context, data []byte, text string) ([]byte, error)

AddTextWatermark mocks base method.

func (*MockInterface) EXPECT added in v1.0.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInterface) Encrypt added in v1.0.0

func (m *MockInterface) Encrypt(ctx context.Context, data []byte, password string) ([]byte, error)

Encrypt mocks base method.

func (*MockInterface) ExtractText added in v1.0.0

func (m *MockInterface) ExtractText(ctx context.Context, data []byte) (string, error)

ExtractText mocks base method.

func (*MockInterface) Merge added in v1.0.0

func (m *MockInterface) Merge(ctx context.Context, parts ...[]byte) ([]byte, error)

Merge mocks base method.

func (*MockInterface) PageCount added in v1.0.0

func (m *MockInterface) PageCount(ctx context.Context, data []byte) (int, error)

PageCount mocks base method.

func (*MockInterface) RemovePassword added in v1.0.0

func (m *MockInterface) RemovePassword(ctx context.Context, data []byte, password string) ([]byte, error)

RemovePassword mocks base method.

func (*MockInterface) Split added in v1.0.0

func (m *MockInterface) Split(ctx context.Context, data []byte, span int) ([][]byte, error)

Split mocks base method.

type MockInterfaceMockRecorder added in v1.0.0

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) AddTextWatermark added in v1.0.0

func (mr *MockInterfaceMockRecorder) AddTextWatermark(ctx, data, text any) *gomock.Call

AddTextWatermark indicates an expected call of AddTextWatermark.

func (*MockInterfaceMockRecorder) Encrypt added in v1.0.0

func (mr *MockInterfaceMockRecorder) Encrypt(ctx, data, password any) *gomock.Call

Encrypt indicates an expected call of Encrypt.

func (*MockInterfaceMockRecorder) ExtractText added in v1.0.0

func (mr *MockInterfaceMockRecorder) ExtractText(ctx, data any) *gomock.Call

ExtractText indicates an expected call of ExtractText.

func (*MockInterfaceMockRecorder) Merge added in v1.0.0

func (mr *MockInterfaceMockRecorder) Merge(ctx any, parts ...any) *gomock.Call

Merge indicates an expected call of Merge.

func (*MockInterfaceMockRecorder) PageCount added in v1.0.0

func (mr *MockInterfaceMockRecorder) PageCount(ctx, data any) *gomock.Call

PageCount indicates an expected call of PageCount.

func (*MockInterfaceMockRecorder) RemovePassword added in v1.0.0

func (mr *MockInterfaceMockRecorder) RemovePassword(ctx, data, password any) *gomock.Call

RemovePassword indicates an expected call of RemovePassword.

func (*MockInterfaceMockRecorder) Split added in v1.0.0

func (mr *MockInterfaceMockRecorder) Split(ctx, data, span any) *gomock.Call

Split indicates an expected call of Split.

Jump to

Keyboard shortcuts

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