Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockSiteInfoCommonService
- func (m *MockSiteInfoCommonService) EXPECT() *MockSiteInfoCommonServiceMockRecorder
- func (m *MockSiteInfoCommonService) FormatAvatar(ctx context.Context, originalAvatarData, email string, userStatus int) *schema.AvatarInfo
- func (m *MockSiteInfoCommonService) FormatListAvatar(ctx context.Context, userList []*entity.User) map[string]*schema.AvatarInfo
- func (m *MockSiteInfoCommonService) GetSiteBranding(ctx context.Context) (*schema.SiteBrandingResp, error)
- func (m *MockSiteInfoCommonService) GetSiteCustomCssHTML(ctx context.Context) (*schema.SiteCustomCssHTMLResp, error)
- func (m *MockSiteInfoCommonService) GetSiteGeneral(ctx context.Context) (*schema.SiteGeneralResp, error)
- func (m *MockSiteInfoCommonService) GetSiteInfoByType(ctx context.Context, siteType string, resp interface{}) error
- func (m *MockSiteInfoCommonService) GetSiteInterface(ctx context.Context) (*schema.SiteInterfaceResp, error)
- func (m *MockSiteInfoCommonService) GetSiteLegal(ctx context.Context) (*schema.SiteLegalResp, error)
- func (m *MockSiteInfoCommonService) GetSiteLogin(ctx context.Context) (*schema.SiteLoginResp, error)
- func (m *MockSiteInfoCommonService) GetSiteSeo(ctx context.Context) (*schema.SiteSeoResp, error)
- func (m *MockSiteInfoCommonService) GetSiteTheme(ctx context.Context) (*schema.SiteThemeResp, error)
- func (m *MockSiteInfoCommonService) GetSiteUsers(ctx context.Context) (*schema.SiteUsersResp, error)
- func (m *MockSiteInfoCommonService) GetSiteWrite(ctx context.Context) (*schema.SiteWriteResp, error)
- type MockSiteInfoCommonServiceMockRecorder
- func (mr *MockSiteInfoCommonServiceMockRecorder) FormatAvatar(ctx, originalAvatarData, email, userStatus interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) FormatListAvatar(ctx, userList interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteBranding(ctx interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteCustomCssHTML(ctx interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteGeneral(ctx interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteInfoByType(ctx, siteType, resp interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteInterface(ctx interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteLegal(ctx interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteLogin(ctx interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteSeo(ctx interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteTheme(ctx interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteUsers(ctx interface{}) *gomock.Call
- func (mr *MockSiteInfoCommonServiceMockRecorder) GetSiteWrite(ctx interface{}) *gomock.Call
- type MockSiteInfoRepo
- type MockSiteInfoRepoMockRecorder
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 ¶
func (m *MockSiteInfoCommonService) EXPECT() *MockSiteInfoCommonServiceMockRecorder
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 ¶
func (m *MockSiteInfoCommonService) GetSiteBranding(ctx context.Context) (*schema.SiteBrandingResp, error)
GetSiteBranding mocks base method.
func (*MockSiteInfoCommonService) GetSiteCustomCssHTML ¶
func (m *MockSiteInfoCommonService) GetSiteCustomCssHTML(ctx context.Context) (*schema.SiteCustomCssHTMLResp, error)
GetSiteCustomCssHTML mocks base method.
func (*MockSiteInfoCommonService) GetSiteGeneral ¶
func (m *MockSiteInfoCommonService) GetSiteGeneral(ctx context.Context) (*schema.SiteGeneralResp, error)
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 ¶
func (m *MockSiteInfoCommonService) GetSiteInterface(ctx context.Context) (*schema.SiteInterfaceResp, error)
GetSiteInterface mocks base method.
func (*MockSiteInfoCommonService) GetSiteLegal ¶
func (m *MockSiteInfoCommonService) GetSiteLegal(ctx context.Context) (*schema.SiteLegalResp, error)
GetSiteLegal mocks base method.
func (*MockSiteInfoCommonService) GetSiteLogin ¶
func (m *MockSiteInfoCommonService) GetSiteLogin(ctx context.Context) (*schema.SiteLoginResp, error)
GetSiteLogin mocks base method.
func (*MockSiteInfoCommonService) GetSiteSeo ¶
func (m *MockSiteInfoCommonService) GetSiteSeo(ctx context.Context) (*schema.SiteSeoResp, error)
GetSiteSeo mocks base method.
func (*MockSiteInfoCommonService) GetSiteTheme ¶
func (m *MockSiteInfoCommonService) GetSiteTheme(ctx context.Context) (*schema.SiteThemeResp, error)
GetSiteTheme mocks base method.
func (*MockSiteInfoCommonService) GetSiteUsers ¶
func (m *MockSiteInfoCommonService) GetSiteUsers(ctx context.Context) (*schema.SiteUsersResp, error)
GetSiteUsers mocks base method.
func (*MockSiteInfoCommonService) GetSiteWrite ¶
func (m *MockSiteInfoCommonService) GetSiteWrite(ctx context.Context) (*schema.SiteWriteResp, error)
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 ¶
func (m *MockSiteInfoRepo) EXPECT() *MockSiteInfoRepoMockRecorder
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.