mocks

package
v0.0.0-...-9792e72 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypto

type Crypto struct {
	mock.Mock
}

Crypto is an autogenerated mock type for the Crypto type

func (*Crypto) Decrypt

func (_m *Crypto) Decrypt(data []byte) ([]byte, error)

Decrypt provides a mock function with given fields: data

func (*Crypto) Encrypt

func (_m *Crypto) Encrypt(data []byte) ([]byte, error)

Encrypt provides a mock function with given fields: data

func (*Crypto) NewPacket

func (_m *Crypto) NewPacket(data []byte) (*packet.Packet, error)

NewPacket provides a mock function with given fields: data

func (*Crypto) VerifyPacket

func (_m *Crypto) VerifyPacket(pkt *packet.Packet) error

VerifyPacket provides a mock function with given fields: pkt

Jump to

Keyboard shortcuts

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