Documentation
¶
Index ¶
- type SystemService
- func (s *SystemService) GetCurrencyConfig(ctx context.Context, req *pb.GetCurrencyConfigRequest) (*pb.GetCurrencyConfigReply, error)
- func (s *SystemService) GetInviteConfig(ctx context.Context, req *pb.GetInviteConfigRequest) (*pb.GetInviteConfigReply, error)
- func (s *SystemService) GetNodeConfig(ctx context.Context, req *pb.GetNodeConfigRequest) (*pb.GetNodeConfigReply, error)
- func (s *SystemService) GetNodeMultiplier(ctx context.Context, req *pb.GetNodeMultiplierRequest) (*pb.GetNodeMultiplierReply, error)
- func (s *SystemService) GetPrivacyPolicyConfig(ctx context.Context, req *pb.GetPrivacyPolicyConfigRequest) (*pb.GetPrivacyPolicyConfigReply, error)
- func (s *SystemService) GetRegisterConfig(ctx context.Context, req *pb.GetRegisterConfigRequest) (*pb.GetRegisterConfigReply, error)
- func (s *SystemService) GetSiteConfig(ctx context.Context, req *pb.GetSiteConfigRequest) (*pb.GetSiteConfigReply, error)
- func (s *SystemService) GetSubscribeConfig(ctx context.Context, req *pb.GetSubscribeConfigRequest) (*pb.GetSubscribeConfigReply, error)
- func (s *SystemService) GetSystemModule(ctx context.Context, req *pb.GetSystemModuleRequest) (*pb.GetSystemModuleReply, error)
- func (s *SystemService) GetTosConfig(ctx context.Context, req *pb.GetTosConfigRequest) (*pb.GetTosConfigReply, error)
- func (s *SystemService) GetVerifyCodeConfig(ctx context.Context, req *pb.GetVerifyCodeConfigRequest) (*pb.GetVerifyCodeConfigReply, error)
- func (s *SystemService) GetVerifyConfig(ctx context.Context, req *pb.GetVerifyConfigRequest) (*pb.GetVerifyConfigReply, error)
- func (s *SystemService) PreViewNodeMultiplier(ctx context.Context, req *pb.PreViewNodeMultiplierRequest) (*pb.PreViewNodeMultiplierReply, error)
- func (s *SystemService) SetNodeMultiplier(ctx context.Context, req *pb.SetNodeMultiplierRequest) (*pb.SetNodeMultiplierReply, error)
- func (s *SystemService) SettingTelegramBot(ctx context.Context, req *pb.SettingTelegramBotRequest) (*pb.SettingTelegramBotReply, error)
- func (s *SystemService) UpdateCurrencyConfig(ctx context.Context, req *pb.UpdateCurrencyConfigRequest) (*pb.UpdateCurrencyConfigReply, error)
- func (s *SystemService) UpdateInviteConfig(ctx context.Context, req *pb.UpdateInviteConfigRequest) (*pb.UpdateInviteConfigReply, error)
- func (s *SystemService) UpdateNodeConfig(ctx context.Context, req *pb.UpdateNodeConfigRequest) (*pb.UpdateNodeConfigReply, error)
- func (s *SystemService) UpdatePrivacyPolicyConfig(ctx context.Context, req *pb.UpdatePrivacyPolicyConfigRequest) (*pb.UpdatePrivacyPolicyConfigReply, error)
- func (s *SystemService) UpdateRegisterConfig(ctx context.Context, req *pb.UpdateRegisterConfigRequest) (*pb.UpdateRegisterConfigReply, error)
- func (s *SystemService) UpdateSiteConfig(ctx context.Context, req *pb.UpdateSiteConfigRequest) (*pb.UpdateSiteConfigReply, error)
- func (s *SystemService) UpdateSubscribeConfig(ctx context.Context, req *pb.UpdateSubscribeConfigRequest) (*pb.UpdateSubscribeConfigReply, error)
- func (s *SystemService) UpdateTosConfig(ctx context.Context, req *pb.UpdateTosConfigRequest) (*pb.UpdateTosConfigReply, error)
- func (s *SystemService) UpdateVerifyCodeConfig(ctx context.Context, req *pb.UpdateVerifyCodeConfigRequest) (*pb.UpdateVerifyCodeConfigReply, error)
- func (s *SystemService) UpdateVerifyConfig(ctx context.Context, req *pb.UpdateVerifyConfigRequest) (*pb.UpdateVerifyConfigReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemService ¶
type SystemService struct {
pb.UnimplementedSystemServiceServer
// contains filtered or unexported fields
}
func NewSystemService ¶
func NewSystemService(uc *systembiz.SystemUsecase, logger log.Logger) *SystemService
func (*SystemService) GetCurrencyConfig ¶
func (s *SystemService) GetCurrencyConfig(ctx context.Context, req *pb.GetCurrencyConfigRequest) (*pb.GetCurrencyConfigReply, error)
GetCurrencyConfig 获取货币配置
func (*SystemService) GetInviteConfig ¶
func (s *SystemService) GetInviteConfig(ctx context.Context, req *pb.GetInviteConfigRequest) (*pb.GetInviteConfigReply, error)
GetInviteConfig 获取邀请配置
func (*SystemService) GetNodeConfig ¶
func (s *SystemService) GetNodeConfig(ctx context.Context, req *pb.GetNodeConfigRequest) (*pb.GetNodeConfigReply, error)
GetNodeConfig 获取节点配置
func (*SystemService) GetNodeMultiplier ¶
func (s *SystemService) GetNodeMultiplier(ctx context.Context, req *pb.GetNodeMultiplierRequest) (*pb.GetNodeMultiplierReply, error)
GetNodeMultiplier 获取节点倍率
func (*SystemService) GetPrivacyPolicyConfig ¶
func (s *SystemService) GetPrivacyPolicyConfig(ctx context.Context, req *pb.GetPrivacyPolicyConfigRequest) (*pb.GetPrivacyPolicyConfigReply, error)
GetPrivacyPolicyConfig 获取隐私政策配置
func (*SystemService) GetRegisterConfig ¶
func (s *SystemService) GetRegisterConfig(ctx context.Context, req *pb.GetRegisterConfigRequest) (*pb.GetRegisterConfigReply, error)
GetRegisterConfig 获取注册配置
func (*SystemService) GetSiteConfig ¶
func (s *SystemService) GetSiteConfig(ctx context.Context, req *pb.GetSiteConfigRequest) (*pb.GetSiteConfigReply, error)
GetSiteConfig 获取站点配置
func (*SystemService) GetSubscribeConfig ¶
func (s *SystemService) GetSubscribeConfig(ctx context.Context, req *pb.GetSubscribeConfigRequest) (*pb.GetSubscribeConfigReply, error)
GetSubscribeConfig 获取订阅配置
func (*SystemService) GetSystemModule ¶
func (s *SystemService) GetSystemModule(ctx context.Context, req *pb.GetSystemModuleRequest) (*pb.GetSystemModuleReply, error)
func (*SystemService) GetTosConfig ¶
func (s *SystemService) GetTosConfig(ctx context.Context, req *pb.GetTosConfigRequest) (*pb.GetTosConfigReply, error)
GetTosConfig 获取服务条款配置
func (*SystemService) GetVerifyCodeConfig ¶
func (s *SystemService) GetVerifyCodeConfig(ctx context.Context, req *pb.GetVerifyCodeConfigRequest) (*pb.GetVerifyCodeConfigReply, error)
GetVerifyCodeConfig 获取验证码配置
func (*SystemService) GetVerifyConfig ¶
func (s *SystemService) GetVerifyConfig(ctx context.Context, req *pb.GetVerifyConfigRequest) (*pb.GetVerifyConfigReply, error)
GetVerifyConfig 获取验证配置
func (*SystemService) PreViewNodeMultiplier ¶
func (s *SystemService) PreViewNodeMultiplier(ctx context.Context, req *pb.PreViewNodeMultiplierRequest) (*pb.PreViewNodeMultiplierReply, error)
PreViewNodeMultiplier 预览节点倍率
func (*SystemService) SetNodeMultiplier ¶
func (s *SystemService) SetNodeMultiplier(ctx context.Context, req *pb.SetNodeMultiplierRequest) (*pb.SetNodeMultiplierReply, error)
SetNodeMultiplier 设置节点倍率
func (*SystemService) SettingTelegramBot ¶
func (s *SystemService) SettingTelegramBot(ctx context.Context, req *pb.SettingTelegramBotRequest) (*pb.SettingTelegramBotReply, error)
SettingTelegramBot 设置Telegram机器人
func (*SystemService) UpdateCurrencyConfig ¶
func (s *SystemService) UpdateCurrencyConfig(ctx context.Context, req *pb.UpdateCurrencyConfigRequest) (*pb.UpdateCurrencyConfigReply, error)
UpdateCurrencyConfig 更新货币配置
func (*SystemService) UpdateInviteConfig ¶
func (s *SystemService) UpdateInviteConfig(ctx context.Context, req *pb.UpdateInviteConfigRequest) (*pb.UpdateInviteConfigReply, error)
UpdateInviteConfig 更新邀请配置
func (*SystemService) UpdateNodeConfig ¶
func (s *SystemService) UpdateNodeConfig(ctx context.Context, req *pb.UpdateNodeConfigRequest) (*pb.UpdateNodeConfigReply, error)
UpdateNodeConfig 更新节点配置
func (*SystemService) UpdatePrivacyPolicyConfig ¶
func (s *SystemService) UpdatePrivacyPolicyConfig(ctx context.Context, req *pb.UpdatePrivacyPolicyConfigRequest) (*pb.UpdatePrivacyPolicyConfigReply, error)
UpdatePrivacyPolicyConfig 更新隐私政策配置
func (*SystemService) UpdateRegisterConfig ¶
func (s *SystemService) UpdateRegisterConfig(ctx context.Context, req *pb.UpdateRegisterConfigRequest) (*pb.UpdateRegisterConfigReply, error)
UpdateRegisterConfig 更新注册配置
func (*SystemService) UpdateSiteConfig ¶
func (s *SystemService) UpdateSiteConfig(ctx context.Context, req *pb.UpdateSiteConfigRequest) (*pb.UpdateSiteConfigReply, error)
UpdateSiteConfig 更新站点配置
func (*SystemService) UpdateSubscribeConfig ¶
func (s *SystemService) UpdateSubscribeConfig(ctx context.Context, req *pb.UpdateSubscribeConfigRequest) (*pb.UpdateSubscribeConfigReply, error)
UpdateSubscribeConfig 更新订阅配置
func (*SystemService) UpdateTosConfig ¶
func (s *SystemService) UpdateTosConfig(ctx context.Context, req *pb.UpdateTosConfigRequest) (*pb.UpdateTosConfigReply, error)
UpdateTosConfig 更新服务条款配置
func (*SystemService) UpdateVerifyCodeConfig ¶
func (s *SystemService) UpdateVerifyCodeConfig(ctx context.Context, req *pb.UpdateVerifyCodeConfigRequest) (*pb.UpdateVerifyCodeConfigReply, error)
UpdateVerifyCodeConfig 更新验证码配置
func (*SystemService) UpdateVerifyConfig ¶
func (s *SystemService) UpdateVerifyConfig(ctx context.Context, req *pb.UpdateVerifyConfigRequest) (*pb.UpdateVerifyConfigReply, error)
UpdateVerifyConfig 更新验证配置