encryptionmock

package
v0.0.0-...-98cd694 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Unlicense Imports: 2 Imported by: 0

Documentation

Overview

Package encryptionmock contains the interfaces and implementations for encrypting and decrypting data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockImpl

type MockImpl struct {
	mock.Mock
}

MockImpl is the mock EncryptorDecryptor implementation.

func NewMockEncryptorDecryptor

func NewMockEncryptorDecryptor() *MockImpl

func (*MockImpl) Decrypt

func (m *MockImpl) Decrypt(ctx context.Context, content string) (string, error)

Decrypt is a mock method.

func (*MockImpl) Encrypt

func (m *MockImpl) Encrypt(ctx context.Context, content string) (string, error)

Encrypt is a mock method.

Jump to

Keyboard shortcuts

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