Documentation ¶
Index ¶
- type SiteInfoService
- func (s *SiteInfoService) GetSMTPConfig(ctx context.Context) (resp *schema.GetSMTPConfigResp, err error)
- func (s *SiteInfoService) GetSiteGeneral(ctx context.Context) (resp *schema.SiteGeneralResp, err error)
- func (s *SiteInfoService) GetSiteInterface(ctx context.Context) (resp *schema.SiteInterfaceResp, err error)
- func (s *SiteInfoService) SaveSiteGeneral(ctx context.Context, req schema.SiteGeneralReq) (err error)
- func (s *SiteInfoService) SaveSiteInterface(ctx context.Context, req schema.SiteInterfaceReq) (err error)
- func (s *SiteInfoService) UpdateSMTPConfig(ctx context.Context, req *schema.UpdateSMTPConfigReq) (err error)
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) *SiteInfoService
func (*SiteInfoService) GetSMTPConfig ¶
func (s *SiteInfoService) GetSMTPConfig(ctx context.Context) ( resp *schema.GetSMTPConfigResp, err error, )
GetSMTPConfig get smtp config
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) 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) UpdateSMTPConfig ¶
func (s *SiteInfoService) UpdateSMTPConfig(ctx context.Context, req *schema.UpdateSMTPConfigReq) (err error)
UpdateSMTPConfig get smtp config
Click to show internal directories.
Click to hide internal directories.