siteinfo_common

package
v0.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SiteInfoCommonService added in v0.3.0

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

func NewSiteInfoCommonService added in v0.3.0

func NewSiteInfoCommonService(siteInfoRepo SiteInfoRepo) *SiteInfoCommonService

func (*SiteInfoCommonService) GetSiteBranding added in v0.4.0

func (s *SiteInfoCommonService) GetSiteBranding(ctx context.Context) (resp *schema.SiteBrandingResp, err error)

GetSiteBranding get site info branding

func (*SiteInfoCommonService) GetSiteGeneral added in v0.3.0

func (s *SiteInfoCommonService) GetSiteGeneral(ctx context.Context) (resp *schema.SiteGeneralResp, err error)

GetSiteGeneral get site info general

func (*SiteInfoCommonService) GetSiteInterface added in v0.3.0

func (s *SiteInfoCommonService) GetSiteInterface(ctx context.Context) (resp *schema.SiteInterfaceResp, err error)

GetSiteInterface get site info interface

func (*SiteInfoCommonService) GetSiteLegal added in v0.4.0

func (s *SiteInfoCommonService) GetSiteLegal(ctx context.Context) (resp *schema.SiteLegalResp, err error)

GetSiteLegal get site info write

func (*SiteInfoCommonService) GetSiteWrite added in v0.4.0

func (s *SiteInfoCommonService) GetSiteWrite(ctx context.Context) (resp *schema.SiteWriteResp, err error)

GetSiteWrite get site info write

type SiteInfoRepo

type SiteInfoRepo interface {
	SaveByType(ctx context.Context, siteType string, data *entity.SiteInfo) (err error)
	GetByType(ctx context.Context, siteType string) (siteInfo *entity.SiteInfo, exist bool, err error)
}

Jump to

Keyboard shortcuts

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