siteinfo

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SiteInfoService

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

func NewSiteInfoService

func NewSiteInfoService(
	siteInfoRepo siteinfo_common.SiteInfoRepo,
	emailService *export.EmailService,
	tagCommonService *tagcommon.TagCommonService) *SiteInfoService

func (*SiteInfoService) GetSMTPConfig

func (s *SiteInfoService) GetSMTPConfig(ctx context.Context) (
	resp *schema.GetSMTPConfigResp, err error,
)

GetSMTPConfig get smtp config

func (*SiteInfoService) GetSiteBranding added in v0.4.0

func (s *SiteInfoService) GetSiteBranding(ctx context.Context) (resp *schema.SiteBrandingReq, err error)

GetSiteBranding get site info branding

func (*SiteInfoService) GetSiteGeneral

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

GetSiteGeneral get site info general

func (*SiteInfoService) GetSiteInterface

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

GetSiteInterface get site info interface

func (*SiteInfoService) GetSiteLegal added in v0.4.0

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

GetSiteLegal get site legal info

func (*SiteInfoService) GetSiteWrite added in v0.4.0

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

GetSiteWrite get site info write

func (*SiteInfoService) SaveSiteBranding added in v0.4.0

func (s *SiteInfoService) SaveSiteBranding(ctx context.Context, req *schema.SiteBrandingReq) (err error)

SaveSiteBranding save site branding information

func (*SiteInfoService) SaveSiteGeneral

func (s *SiteInfoService) SaveSiteGeneral(ctx context.Context, req schema.SiteGeneralReq) (err error)

func (*SiteInfoService) SaveSiteInterface

func (s *SiteInfoService) SaveSiteInterface(ctx context.Context, req schema.SiteInterfaceReq) (err error)

func (*SiteInfoService) SaveSiteLegal added in v0.4.0

func (s *SiteInfoService) SaveSiteLegal(ctx context.Context, req *schema.SiteLegalReq) (err error)

SaveSiteLegal save site legal configuration

func (*SiteInfoService) SaveSiteWrite added in v0.4.0

func (s *SiteInfoService) SaveSiteWrite(ctx context.Context, req *schema.SiteWriteReq) (resp interface{}, err error)

SaveSiteWrite save site configuration about write

func (*SiteInfoService) UpdateSMTPConfig

func (s *SiteInfoService) UpdateSMTPConfig(ctx context.Context, req *schema.UpdateSMTPConfigReq) (err error)

UpdateSMTPConfig get smtp config

Jump to

Keyboard shortcuts

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