Documentation ¶
Overview ¶
Package mock_wx is a generated GoMock package.
Index ¶
- type MockIWXClient
- func (m *MockIWXClient) CheckFinger(arg0 structs.FingerRequest, arg1 string) (*structs.FingerResponse, error)
- func (m *MockIWXClient) DecryptPhoneNumber(arg0, arg1, arg2 string) (wx.PhoneNumber, error)
- func (m *MockIWXClient) DecryptUserInfo(arg0, arg1, arg2, arg3, arg4 string) (wx.UserInfo, error)
- func (m *MockIWXClient) EXPECT() *MockIWXClientMockRecorder
- func (m *MockIWXClient) GetAccessToken(arg0, arg1 string) (string, error)
- func (m *MockIWXClient) GetWXQrCode(arg0, arg1 string) (image.Image, error)
- func (m *MockIWXClient) WXLogin(arg0, arg1, arg2 string) (wx.LoginResponse, error)
- type MockIWXClientMockRecorder
- func (mr *MockIWXClientMockRecorder) CheckFinger(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIWXClientMockRecorder) DecryptPhoneNumber(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIWXClientMockRecorder) DecryptUserInfo(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIWXClientMockRecorder) GetAccessToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIWXClientMockRecorder) GetWXQrCode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIWXClientMockRecorder) WXLogin(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIWXClient ¶
type MockIWXClient struct {
// contains filtered or unexported fields
}
MockIWXClient is a mock of IWXClient interface
func NewMockIWXClient ¶
func NewMockIWXClient(ctrl *gomock.Controller) *MockIWXClient
NewMockIWXClient creates a new mock instance
func (*MockIWXClient) CheckFinger ¶
func (m *MockIWXClient) CheckFinger(arg0 structs.FingerRequest, arg1 string) (*structs.FingerResponse, error)
CheckFinger mocks base method
func (*MockIWXClient) DecryptPhoneNumber ¶
func (m *MockIWXClient) DecryptPhoneNumber(arg0, arg1, arg2 string) (wx.PhoneNumber, error)
DecryptPhoneNumber mocks base method
func (*MockIWXClient) DecryptUserInfo ¶
func (m *MockIWXClient) DecryptUserInfo(arg0, arg1, arg2, arg3, arg4 string) (wx.UserInfo, error)
DecryptUserInfo mocks base method
func (*MockIWXClient) EXPECT ¶
func (m *MockIWXClient) EXPECT() *MockIWXClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIWXClient) GetAccessToken ¶
func (m *MockIWXClient) GetAccessToken(arg0, arg1 string) (string, error)
GetAccessToken mocks base method
func (*MockIWXClient) GetWXQrCode ¶
func (m *MockIWXClient) GetWXQrCode(arg0, arg1 string) (image.Image, error)
GetWXQrCode mocks base method
func (*MockIWXClient) WXLogin ¶
func (m *MockIWXClient) WXLogin(arg0, arg1, arg2 string) (wx.LoginResponse, error)
WXLogin mocks base method
type MockIWXClientMockRecorder ¶
type MockIWXClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIWXClientMockRecorder is the mock recorder for MockIWXClient
func (*MockIWXClientMockRecorder) CheckFinger ¶
func (mr *MockIWXClientMockRecorder) CheckFinger(arg0, arg1 interface{}) *gomock.Call
CheckFinger indicates an expected call of CheckFinger
func (*MockIWXClientMockRecorder) DecryptPhoneNumber ¶
func (mr *MockIWXClientMockRecorder) DecryptPhoneNumber(arg0, arg1, arg2 interface{}) *gomock.Call
DecryptPhoneNumber indicates an expected call of DecryptPhoneNumber
func (*MockIWXClientMockRecorder) DecryptUserInfo ¶
func (mr *MockIWXClientMockRecorder) DecryptUserInfo(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
DecryptUserInfo indicates an expected call of DecryptUserInfo
func (*MockIWXClientMockRecorder) GetAccessToken ¶
func (mr *MockIWXClientMockRecorder) GetAccessToken(arg0, arg1 interface{}) *gomock.Call
GetAccessToken indicates an expected call of GetAccessToken
func (*MockIWXClientMockRecorder) GetWXQrCode ¶
func (mr *MockIWXClientMockRecorder) GetWXQrCode(arg0, arg1 interface{}) *gomock.Call
GetWXQrCode indicates an expected call of GetWXQrCode
func (*MockIWXClientMockRecorder) WXLogin ¶
func (mr *MockIWXClientMockRecorder) WXLogin(arg0, arg1, arg2 interface{}) *gomock.Call
WXLogin indicates an expected call of WXLogin