mock

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSiteInfoCommonService

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

MockSiteInfoCommonService is a mock of SiteInfoCommonService interface.

func NewMockSiteInfoCommonService

func NewMockSiteInfoCommonService(ctrl *gomock.Controller) *MockSiteInfoCommonService

NewMockSiteInfoCommonService creates a new mock instance.

func (*MockSiteInfoCommonService) EXPECT

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

func (*MockSiteInfoCommonService) FormatAvatar

func (m *MockSiteInfoCommonService) FormatAvatar(ctx context.Context, originalAvatarData, email string, userStatus int) *schema.AvatarInfo

FormatAvatar mocks base method.

func (*MockSiteInfoCommonService) FormatListAvatar

func (m *MockSiteInfoCommonService) FormatListAvatar(ctx context.Context, userList []*entity.User) map[string]*schema.AvatarInfo

FormatListAvatar mocks base method.

func (*MockSiteInfoCommonService) GetSiteBranding

GetSiteBranding mocks base method.

func (*MockSiteInfoCommonService) GetSiteCustomCssHTML

GetSiteCustomCssHTML mocks base method.

func (*MockSiteInfoCommonService) GetSiteGeneral

GetSiteGeneral mocks base method.

func (*MockSiteInfoCommonService) GetSiteInfoByType

func (m *MockSiteInfoCommonService) GetSiteInfoByType(ctx context.Context, siteType string, resp interface{}) error

GetSiteInfoByType mocks base method.

func (*MockSiteInfoCommonService) GetSiteInterface

GetSiteInterface mocks base method.

func (*MockSiteInfoCommonService) GetSiteLegal

GetSiteLegal mocks base method.

func (*MockSiteInfoCommonService) GetSiteLogin

GetSiteLogin mocks base method.

func (*MockSiteInfoCommonService) GetSiteSeo

GetSiteSeo mocks base method.

func (*MockSiteInfoCommonService) GetSiteTheme

GetSiteTheme mocks base method.

func (*MockSiteInfoCommonService) GetSiteUsers

GetSiteUsers mocks base method.

func (*MockSiteInfoCommonService) GetSiteWrite

GetSiteWrite mocks base method.

type MockSiteInfoCommonServiceMockRecorder

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

MockSiteInfoCommonServiceMockRecorder is the mock recorder for MockSiteInfoCommonService.

func (*MockSiteInfoCommonServiceMockRecorder) FormatAvatar

func (mr *MockSiteInfoCommonServiceMockRecorder) FormatAvatar(ctx, originalAvatarData, email, userStatus interface{}) *gomock.Call

FormatAvatar indicates an expected call of FormatAvatar.

func (*MockSiteInfoCommonServiceMockRecorder) FormatListAvatar

func (mr *MockSiteInfoCommonServiceMockRecorder) FormatListAvatar(ctx, userList interface{}) *gomock.Call

FormatListAvatar indicates an expected call of FormatListAvatar.

func (*MockSiteInfoCommonServiceMockRecorder) GetSiteBranding

func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteBranding(ctx interface{}) *gomock.Call

GetSiteBranding indicates an expected call of GetSiteBranding.

func (*MockSiteInfoCommonServiceMockRecorder) GetSiteCustomCssHTML

func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteCustomCssHTML(ctx interface{}) *gomock.Call

GetSiteCustomCssHTML indicates an expected call of GetSiteCustomCssHTML.

func (*MockSiteInfoCommonServiceMockRecorder) GetSiteGeneral

func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteGeneral(ctx interface{}) *gomock.Call

GetSiteGeneral indicates an expected call of GetSiteGeneral.

func (*MockSiteInfoCommonServiceMockRecorder) GetSiteInfoByType

func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteInfoByType(ctx, siteType, resp interface{}) *gomock.Call

GetSiteInfoByType indicates an expected call of GetSiteInfoByType.

func (*MockSiteInfoCommonServiceMockRecorder) GetSiteInterface

func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteInterface(ctx interface{}) *gomock.Call

GetSiteInterface indicates an expected call of GetSiteInterface.

func (*MockSiteInfoCommonServiceMockRecorder) GetSiteLegal

func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteLegal(ctx interface{}) *gomock.Call

GetSiteLegal indicates an expected call of GetSiteLegal.

func (*MockSiteInfoCommonServiceMockRecorder) GetSiteLogin

func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteLogin(ctx interface{}) *gomock.Call

GetSiteLogin indicates an expected call of GetSiteLogin.

func (*MockSiteInfoCommonServiceMockRecorder) GetSiteSeo

func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteSeo(ctx interface{}) *gomock.Call

GetSiteSeo indicates an expected call of GetSiteSeo.

func (*MockSiteInfoCommonServiceMockRecorder) GetSiteTheme

func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteTheme(ctx interface{}) *gomock.Call

GetSiteTheme indicates an expected call of GetSiteTheme.

func (*MockSiteInfoCommonServiceMockRecorder) GetSiteUsers

func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteUsers(ctx interface{}) *gomock.Call

GetSiteUsers indicates an expected call of GetSiteUsers.

func (*MockSiteInfoCommonServiceMockRecorder) GetSiteWrite

func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteWrite(ctx interface{}) *gomock.Call

GetSiteWrite indicates an expected call of GetSiteWrite.

type MockSiteInfoRepo

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

MockSiteInfoRepo is a mock of SiteInfoRepo interface.

func NewMockSiteInfoRepo

func NewMockSiteInfoRepo(ctrl *gomock.Controller) *MockSiteInfoRepo

NewMockSiteInfoRepo creates a new mock instance.

func (*MockSiteInfoRepo) EXPECT

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

func (*MockSiteInfoRepo) GetByType

func (m *MockSiteInfoRepo) GetByType(ctx context.Context, siteType string) (*entity.SiteInfo, bool, error)

GetByType mocks base method.

func (*MockSiteInfoRepo) SaveByType

func (m *MockSiteInfoRepo) SaveByType(ctx context.Context, siteType string, data *entity.SiteInfo) error

SaveByType mocks base method.

type MockSiteInfoRepoMockRecorder

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

MockSiteInfoRepoMockRecorder is the mock recorder for MockSiteInfoRepo.

func (*MockSiteInfoRepoMockRecorder) GetByType

func (mr *MockSiteInfoRepoMockRecorder) GetByType(ctx, siteType interface{}) *gomock.Call

GetByType indicates an expected call of GetByType.

func (*MockSiteInfoRepoMockRecorder) SaveByType

func (mr *MockSiteInfoRepoMockRecorder) SaveByType(ctx, siteType, data interface{}) *gomock.Call

SaveByType indicates an expected call of SaveByType.

Jump to

Keyboard shortcuts

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