wechatmocks

package
v0.0.0-...-6ea431b Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: ./webook/internal/service/oauth2/wechat/service.go

Generated by this command:

mockgen -source=./webook/internal/service/oauth2/wechat/service.go -package=wechatmocks -destination=./webook/internal/service/oauth2/wechat/mocks/svc.mock.go

Package wechatmocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

type MockService struct {
	// contains filtered or unexported fields
}

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) AuthURL

func (m *MockService) AuthURL(ctx context.Context, state string) (string, error)

AuthURL mocks base method.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockService) VerifyCode

func (m *MockService) VerifyCode(ctx context.Context, code string) (domain.WechatInfo, error)

VerifyCode mocks base method.

type MockServiceMockRecorder

type MockServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) AuthURL

func (mr *MockServiceMockRecorder) AuthURL(ctx, state any) *gomock.Call

AuthURL indicates an expected call of AuthURL.

func (*MockServiceMockRecorder) VerifyCode

func (mr *MockServiceMockRecorder) VerifyCode(ctx, code any) *gomock.Call

VerifyCode indicates an expected call of VerifyCode.

Jump to

Keyboard shortcuts

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