siteinfo_common

package
v1.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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