Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crypt ¶
Crypt is an autogenerated mock type for the Crypt type
func NewCrypt ¶
NewCrypt creates a new instance of Crypt. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Crypt) DecryptString ¶
DecryptString provides a mock function with given fields: payload
func (*Crypt) EXPECT ¶
func (_m *Crypt) EXPECT() *Crypt_Expecter
type Crypt_DecryptString_Call ¶
Crypt_DecryptString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DecryptString'
func (*Crypt_DecryptString_Call) Return ¶
func (_c *Crypt_DecryptString_Call) Return(_a0 string, _a1 error) *Crypt_DecryptString_Call
func (*Crypt_DecryptString_Call) Run ¶
func (_c *Crypt_DecryptString_Call) Run(run func(payload string)) *Crypt_DecryptString_Call
func (*Crypt_DecryptString_Call) RunAndReturn ¶
func (_c *Crypt_DecryptString_Call) RunAndReturn(run func(string) (string, error)) *Crypt_DecryptString_Call
type Crypt_EncryptString_Call ¶
Crypt_EncryptString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EncryptString'
func (*Crypt_EncryptString_Call) Return ¶
func (_c *Crypt_EncryptString_Call) Return(_a0 string, _a1 error) *Crypt_EncryptString_Call
func (*Crypt_EncryptString_Call) Run ¶
func (_c *Crypt_EncryptString_Call) Run(run func(value string)) *Crypt_EncryptString_Call
func (*Crypt_EncryptString_Call) RunAndReturn ¶
func (_c *Crypt_EncryptString_Call) RunAndReturn(run func(string) (string, error)) *Crypt_EncryptString_Call
type Crypt_Expecter ¶
type Crypt_Expecter struct {
// contains filtered or unexported fields
}
func (*Crypt_Expecter) DecryptString ¶
func (_e *Crypt_Expecter) DecryptString(payload interface{}) *Crypt_DecryptString_Call
DecryptString is a helper method to define mock.On call
- payload string
func (*Crypt_Expecter) EncryptString ¶
func (_e *Crypt_Expecter) EncryptString(value interface{}) *Crypt_EncryptString_Call
EncryptString is a helper method to define mock.On call
- value string