mocks

package
v0.0.0-...-74b4d02 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decryptor

type Decryptor struct {
	mock.Mock
}

Decryptor is an autogenerated mock type for the Decryptor type

func (*Decryptor) Decrypt

func (_m *Decryptor) Decrypt(ciphertext []byte) ([]byte, error)

Decrypt provides a mock function with given fields: ciphertext

func (*Decryptor) DecryptString

func (_m *Decryptor) DecryptString(ciphertext []byte) string

DecryptString provides a mock function with given fields: ciphertext

type Encryption

type Encryption struct {
	mock.Mock
}

Encryption is an autogenerated mock type for the Encryption type

func (*Encryption) Decrypt

func (_m *Encryption) Decrypt(ciphertext []byte) ([]byte, error)

Decrypt provides a mock function with given fields: ciphertext

func (*Encryption) DecryptString

func (_m *Encryption) DecryptString(ciphertext []byte) string

DecryptString provides a mock function with given fields: ciphertext

func (*Encryption) Encrypt

func (_m *Encryption) Encrypt(plain []byte) ([]byte, error)

Encrypt provides a mock function with given fields: plain

func (*Encryption) EncryptString

func (_m *Encryption) EncryptString(ciphertext []byte) string

EncryptString provides a mock function with given fields: ciphertext

type Encryptor

type Encryptor struct {
	mock.Mock
}

Encryptor is an autogenerated mock type for the Encryptor type

func (*Encryptor) Encrypt

func (_m *Encryptor) Encrypt(plain []byte) ([]byte, error)

Encrypt provides a mock function with given fields: plain

func (*Encryptor) EncryptString

func (_m *Encryptor) EncryptString(ciphertext []byte) string

EncryptString provides a mock function with given fields: ciphertext

Jump to

Keyboard shortcuts

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