siteinfo_common

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 5 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
}

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