siteinfo_common

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 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
}

SiteInfoCommonService site info common service

func NewSiteInfoCommonService added in v0.3.0

func NewSiteInfoCommonService(siteInfoRepo SiteInfoRepo) *SiteInfoCommonService

NewSiteInfoCommonService new site info common service

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) GetSiteCustomCssHTML added in v1.0.0

func (s *SiteInfoCommonService) GetSiteCustomCssHTML(ctx context.Context) (resp *schema.SiteCustomCssHTMLResp, err error)

GetSiteCustomCssHTML get site custom css html config

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) GetSiteLogin added in v1.0.0

func (s *SiteInfoCommonService) GetSiteLogin(ctx context.Context) (resp *schema.SiteLoginResp, err error)

GetSiteLogin get site login config

func (*SiteInfoCommonService) GetSiteSeo added in v1.0.0

func (s *SiteInfoCommonService) GetSiteSeo(ctx context.Context) (resp *schema.SiteSeoReq, err error)

GetSiteSeo get site seo

func (*SiteInfoCommonService) GetSiteTheme added in v1.0.0

func (s *SiteInfoCommonService) GetSiteTheme(ctx context.Context) (resp *schema.SiteThemeResp, err error)

GetSiteTheme get site theme

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