Documentation
¶
Overview ¶
Package mock_pdf is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) AddTextWatermark(ctx context.Context, data []byte, text string) ([]byte, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Encrypt(ctx context.Context, data []byte, password string) ([]byte, error)
- func (m *MockInterface) ExtractText(ctx context.Context, data []byte) (string, error)
- func (m *MockInterface) Merge(ctx context.Context, parts ...[]byte) ([]byte, error)
- func (m *MockInterface) PageCount(ctx context.Context, data []byte) (int, error)
- func (m *MockInterface) RemovePassword(ctx context.Context, data []byte, password string) ([]byte, error)
- func (m *MockInterface) Split(ctx context.Context, data []byte, span int) ([][]byte, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AddTextWatermark(ctx, data, text any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Encrypt(ctx, data, password any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ExtractText(ctx, data any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Merge(ctx any, parts ...any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) PageCount(ctx, data any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RemovePassword(ctx, data, password any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Split(ctx, data, span any) *gomock.Call
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
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) ExtractText ¶ added in v1.0.0
ExtractText 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.
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.