Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterRechargePromotionPublicServiceHTTPServer(s *http.Server, srv RechargePromotionPublicServiceHTTPServer)
- func RegisterRechargePromotionPublicServiceServer(s grpc.ServiceRegistrar, srv RechargePromotionPublicServiceServer)
- type ActiveRechargePromotion
- func (*ActiveRechargePromotion) Descriptor() ([]byte, []int)deprecated
- func (x *ActiveRechargePromotion) GetCustomBonusEnabled() bool
- func (x *ActiveRechargePromotion) GetCustomBonusPercent() int32
- func (x *ActiveRechargePromotion) GetDescription() string
- func (x *ActiveRechargePromotion) GetEndTime() int64
- func (x *ActiveRechargePromotion) GetId() int64
- func (x *ActiveRechargePromotion) GetName() string
- func (x *ActiveRechargePromotion) GetStackMode() int32
- func (x *ActiveRechargePromotion) GetTiers() []*ActiveRechargePromotionTier
- func (*ActiveRechargePromotion) ProtoMessage()
- func (x *ActiveRechargePromotion) ProtoReflect() protoreflect.Message
- func (x *ActiveRechargePromotion) Reset()
- func (x *ActiveRechargePromotion) String() string
- func (m *ActiveRechargePromotion) Validate() error
- func (m *ActiveRechargePromotion) ValidateAll() error
- type ActiveRechargePromotionMultiError
- type ActiveRechargePromotionTier
- func (*ActiveRechargePromotionTier) Descriptor() ([]byte, []int)deprecated
- func (x *ActiveRechargePromotionTier) GetAmount() int64
- func (x *ActiveRechargePromotionTier) GetBonus() int64
- func (x *ActiveRechargePromotionTier) GetLabel() string
- func (x *ActiveRechargePromotionTier) GetSort() int32
- func (*ActiveRechargePromotionTier) ProtoMessage()
- func (x *ActiveRechargePromotionTier) ProtoReflect() protoreflect.Message
- func (x *ActiveRechargePromotionTier) Reset()
- func (x *ActiveRechargePromotionTier) String() string
- func (m *ActiveRechargePromotionTier) Validate() error
- func (m *ActiveRechargePromotionTier) ValidateAll() error
- type ActiveRechargePromotionTierMultiError
- type ActiveRechargePromotionTierValidationError
- func (e ActiveRechargePromotionTierValidationError) Cause() error
- func (e ActiveRechargePromotionTierValidationError) Error() string
- func (e ActiveRechargePromotionTierValidationError) ErrorName() string
- func (e ActiveRechargePromotionTierValidationError) Field() string
- func (e ActiveRechargePromotionTierValidationError) Key() bool
- func (e ActiveRechargePromotionTierValidationError) Reason() string
- type ActiveRechargePromotionValidationError
- func (e ActiveRechargePromotionValidationError) Cause() error
- func (e ActiveRechargePromotionValidationError) Error() string
- func (e ActiveRechargePromotionValidationError) ErrorName() string
- func (e ActiveRechargePromotionValidationError) Field() string
- func (e ActiveRechargePromotionValidationError) Key() bool
- func (e ActiveRechargePromotionValidationError) Reason() string
- type ListActiveRechargePromotionReply
- func (*ListActiveRechargePromotionReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListActiveRechargePromotionReply) GetList() []*ActiveRechargePromotion
- func (x *ListActiveRechargePromotionReply) GetTotal() int32
- func (*ListActiveRechargePromotionReply) ProtoMessage()
- func (x *ListActiveRechargePromotionReply) ProtoReflect() protoreflect.Message
- func (x *ListActiveRechargePromotionReply) Reset()
- func (x *ListActiveRechargePromotionReply) String() string
- func (m *ListActiveRechargePromotionReply) Validate() error
- func (m *ListActiveRechargePromotionReply) ValidateAll() error
- type ListActiveRechargePromotionReplyMultiError
- type ListActiveRechargePromotionReplyValidationError
- func (e ListActiveRechargePromotionReplyValidationError) Cause() error
- func (e ListActiveRechargePromotionReplyValidationError) Error() string
- func (e ListActiveRechargePromotionReplyValidationError) ErrorName() string
- func (e ListActiveRechargePromotionReplyValidationError) Field() string
- func (e ListActiveRechargePromotionReplyValidationError) Key() bool
- func (e ListActiveRechargePromotionReplyValidationError) Reason() string
- type ListActiveRechargePromotionRequest
- func (*ListActiveRechargePromotionRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListActiveRechargePromotionRequest) ProtoMessage()
- func (x *ListActiveRechargePromotionRequest) ProtoReflect() protoreflect.Message
- func (x *ListActiveRechargePromotionRequest) Reset()
- func (x *ListActiveRechargePromotionRequest) String() string
- func (m *ListActiveRechargePromotionRequest) Validate() error
- func (m *ListActiveRechargePromotionRequest) ValidateAll() error
- type ListActiveRechargePromotionRequestMultiError
- type ListActiveRechargePromotionRequestValidationError
- func (e ListActiveRechargePromotionRequestValidationError) Cause() error
- func (e ListActiveRechargePromotionRequestValidationError) Error() string
- func (e ListActiveRechargePromotionRequestValidationError) ErrorName() string
- func (e ListActiveRechargePromotionRequestValidationError) Field() string
- func (e ListActiveRechargePromotionRequestValidationError) Key() bool
- func (e ListActiveRechargePromotionRequestValidationError) Reason() string
- type RechargePromotionPublicServiceClient
- type RechargePromotionPublicServiceHTTPClient
- type RechargePromotionPublicServiceHTTPClientImpl
- type RechargePromotionPublicServiceHTTPServer
- type RechargePromotionPublicServiceServer
- type UnimplementedRechargePromotionPublicServiceServer
- type UnsafeRechargePromotionPublicServiceServer
Constants ¶
const OperationRechargePromotionPublicServiceListActiveRechargePromotion = "/api.public.promotion.v1.RechargePromotionPublicService/ListActiveRechargePromotion"
const (
RechargePromotionPublicService_ListActiveRechargePromotion_FullMethodName = "/api.public.promotion.v1.RechargePromotionPublicService/ListActiveRechargePromotion"
)
Variables ¶
var File_public_promotion_v1_promotion_proto protoreflect.FileDescriptor
var RechargePromotionPublicService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.public.promotion.v1.RechargePromotionPublicService", HandlerType: (*RechargePromotionPublicServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListActiveRechargePromotion", Handler: _RechargePromotionPublicService_ListActiveRechargePromotion_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "public/promotion/v1/promotion.proto", }
RechargePromotionPublicService_ServiceDesc is the grpc.ServiceDesc for RechargePromotionPublicService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRechargePromotionPublicServiceHTTPServer ¶
func RegisterRechargePromotionPublicServiceHTTPServer(s *http.Server, srv RechargePromotionPublicServiceHTTPServer)
func RegisterRechargePromotionPublicServiceServer ¶
func RegisterRechargePromotionPublicServiceServer(s grpc.ServiceRegistrar, srv RechargePromotionPublicServiceServer)
Types ¶
type ActiveRechargePromotion ¶
type ActiveRechargePromotion struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
EndTime int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Unix 毫秒,0=长期(用户端只关心截止时间)
StackMode int32 `protobuf:"varint,5,opt,name=stack_mode,json=stackMode,proto3" json:"stack_mode,omitempty"` // 叠加策略(用于前端理解)
CustomBonusEnabled bool `protobuf:"varint,6,opt,name=custom_bonus_enabled,json=customBonusEnabled,proto3" json:"custom_bonus_enabled,omitempty"`
CustomBonusPercent int32 `protobuf:"varint,7,opt,name=custom_bonus_percent,json=customBonusPercent,proto3" json:"custom_bonus_percent,omitempty"` // 万分比
Tiers []*ActiveRechargePromotionTier `protobuf:"bytes,8,rep,name=tiers,proto3" json:"tiers,omitempty"`
// contains filtered or unexported fields
}
ActiveRechargePromotion 用户端活动(脱敏,仅展示字段)
func (*ActiveRechargePromotion) Descriptor
deprecated
func (*ActiveRechargePromotion) Descriptor() ([]byte, []int)
Deprecated: Use ActiveRechargePromotion.ProtoReflect.Descriptor instead.
func (*ActiveRechargePromotion) GetCustomBonusEnabled ¶
func (x *ActiveRechargePromotion) GetCustomBonusEnabled() bool
func (*ActiveRechargePromotion) GetCustomBonusPercent ¶
func (x *ActiveRechargePromotion) GetCustomBonusPercent() int32
func (*ActiveRechargePromotion) GetDescription ¶
func (x *ActiveRechargePromotion) GetDescription() string
func (*ActiveRechargePromotion) GetEndTime ¶
func (x *ActiveRechargePromotion) GetEndTime() int64
func (*ActiveRechargePromotion) GetId ¶
func (x *ActiveRechargePromotion) GetId() int64
func (*ActiveRechargePromotion) GetName ¶
func (x *ActiveRechargePromotion) GetName() string
func (*ActiveRechargePromotion) GetStackMode ¶
func (x *ActiveRechargePromotion) GetStackMode() int32
func (*ActiveRechargePromotion) GetTiers ¶
func (x *ActiveRechargePromotion) GetTiers() []*ActiveRechargePromotionTier
func (*ActiveRechargePromotion) ProtoMessage ¶
func (*ActiveRechargePromotion) ProtoMessage()
func (*ActiveRechargePromotion) ProtoReflect ¶
func (x *ActiveRechargePromotion) ProtoReflect() protoreflect.Message
func (*ActiveRechargePromotion) Reset ¶
func (x *ActiveRechargePromotion) Reset()
func (*ActiveRechargePromotion) String ¶
func (x *ActiveRechargePromotion) String() string
func (*ActiveRechargePromotion) Validate ¶
func (m *ActiveRechargePromotion) Validate() error
Validate checks the field values on ActiveRechargePromotion with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ActiveRechargePromotion) ValidateAll ¶
func (m *ActiveRechargePromotion) ValidateAll() error
ValidateAll checks the field values on ActiveRechargePromotion with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActiveRechargePromotionMultiError, or nil if none found.
type ActiveRechargePromotionMultiError ¶
type ActiveRechargePromotionMultiError []error
ActiveRechargePromotionMultiError is an error wrapping multiple validation errors returned by ActiveRechargePromotion.ValidateAll() if the designated constraints aren't met.
func (ActiveRechargePromotionMultiError) AllErrors ¶
func (m ActiveRechargePromotionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ActiveRechargePromotionMultiError) Error ¶
func (m ActiveRechargePromotionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ActiveRechargePromotionTier ¶
type ActiveRechargePromotionTier struct {
Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // 充值档位金额 分
Bonus int64 `protobuf:"varint,2,opt,name=bonus,proto3" json:"bonus,omitempty"` // 赠送金额 分
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // 档位标签
Sort int32 `protobuf:"varint,4,opt,name=sort,proto3" json:"sort,omitempty"` // 档位排序 ASC
// contains filtered or unexported fields
}
ActiveRechargePromotionTier 用户端档位(脱敏,仅展示字段)
func (*ActiveRechargePromotionTier) Descriptor
deprecated
func (*ActiveRechargePromotionTier) Descriptor() ([]byte, []int)
Deprecated: Use ActiveRechargePromotionTier.ProtoReflect.Descriptor instead.
func (*ActiveRechargePromotionTier) GetAmount ¶
func (x *ActiveRechargePromotionTier) GetAmount() int64
func (*ActiveRechargePromotionTier) GetBonus ¶
func (x *ActiveRechargePromotionTier) GetBonus() int64
func (*ActiveRechargePromotionTier) GetLabel ¶
func (x *ActiveRechargePromotionTier) GetLabel() string
func (*ActiveRechargePromotionTier) GetSort ¶
func (x *ActiveRechargePromotionTier) GetSort() int32
func (*ActiveRechargePromotionTier) ProtoMessage ¶
func (*ActiveRechargePromotionTier) ProtoMessage()
func (*ActiveRechargePromotionTier) ProtoReflect ¶
func (x *ActiveRechargePromotionTier) ProtoReflect() protoreflect.Message
func (*ActiveRechargePromotionTier) Reset ¶
func (x *ActiveRechargePromotionTier) Reset()
func (*ActiveRechargePromotionTier) String ¶
func (x *ActiveRechargePromotionTier) String() string
func (*ActiveRechargePromotionTier) Validate ¶
func (m *ActiveRechargePromotionTier) Validate() error
Validate checks the field values on ActiveRechargePromotionTier with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ActiveRechargePromotionTier) ValidateAll ¶
func (m *ActiveRechargePromotionTier) ValidateAll() error
ValidateAll checks the field values on ActiveRechargePromotionTier with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActiveRechargePromotionTierMultiError, or nil if none found.
type ActiveRechargePromotionTierMultiError ¶
type ActiveRechargePromotionTierMultiError []error
ActiveRechargePromotionTierMultiError is an error wrapping multiple validation errors returned by ActiveRechargePromotionTier.ValidateAll() if the designated constraints aren't met.
func (ActiveRechargePromotionTierMultiError) AllErrors ¶
func (m ActiveRechargePromotionTierMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ActiveRechargePromotionTierMultiError) Error ¶
func (m ActiveRechargePromotionTierMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ActiveRechargePromotionTierValidationError ¶
type ActiveRechargePromotionTierValidationError struct {
// contains filtered or unexported fields
}
ActiveRechargePromotionTierValidationError is the validation error returned by ActiveRechargePromotionTier.Validate if the designated constraints aren't met.
func (ActiveRechargePromotionTierValidationError) Cause ¶
func (e ActiveRechargePromotionTierValidationError) Cause() error
Cause function returns cause value.
func (ActiveRechargePromotionTierValidationError) Error ¶
func (e ActiveRechargePromotionTierValidationError) Error() string
Error satisfies the builtin error interface
func (ActiveRechargePromotionTierValidationError) ErrorName ¶
func (e ActiveRechargePromotionTierValidationError) ErrorName() string
ErrorName returns error name.
func (ActiveRechargePromotionTierValidationError) Field ¶
func (e ActiveRechargePromotionTierValidationError) Field() string
Field function returns field value.
func (ActiveRechargePromotionTierValidationError) Key ¶
func (e ActiveRechargePromotionTierValidationError) Key() bool
Key function returns key value.
func (ActiveRechargePromotionTierValidationError) Reason ¶
func (e ActiveRechargePromotionTierValidationError) Reason() string
Reason function returns reason value.
type ActiveRechargePromotionValidationError ¶
type ActiveRechargePromotionValidationError struct {
// contains filtered or unexported fields
}
ActiveRechargePromotionValidationError is the validation error returned by ActiveRechargePromotion.Validate if the designated constraints aren't met.
func (ActiveRechargePromotionValidationError) Cause ¶
func (e ActiveRechargePromotionValidationError) Cause() error
Cause function returns cause value.
func (ActiveRechargePromotionValidationError) Error ¶
func (e ActiveRechargePromotionValidationError) Error() string
Error satisfies the builtin error interface
func (ActiveRechargePromotionValidationError) ErrorName ¶
func (e ActiveRechargePromotionValidationError) ErrorName() string
ErrorName returns error name.
func (ActiveRechargePromotionValidationError) Field ¶
func (e ActiveRechargePromotionValidationError) Field() string
Field function returns field value.
func (ActiveRechargePromotionValidationError) Key ¶
func (e ActiveRechargePromotionValidationError) Key() bool
Key function returns key value.
func (ActiveRechargePromotionValidationError) Reason ¶
func (e ActiveRechargePromotionValidationError) Reason() string
Reason function returns reason value.
type ListActiveRechargePromotionReply ¶
type ListActiveRechargePromotionReply struct {
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
List []*ActiveRechargePromotion `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*ListActiveRechargePromotionReply) Descriptor
deprecated
func (*ListActiveRechargePromotionReply) Descriptor() ([]byte, []int)
Deprecated: Use ListActiveRechargePromotionReply.ProtoReflect.Descriptor instead.
func (*ListActiveRechargePromotionReply) GetList ¶
func (x *ListActiveRechargePromotionReply) GetList() []*ActiveRechargePromotion
func (*ListActiveRechargePromotionReply) GetTotal ¶
func (x *ListActiveRechargePromotionReply) GetTotal() int32
func (*ListActiveRechargePromotionReply) ProtoMessage ¶
func (*ListActiveRechargePromotionReply) ProtoMessage()
func (*ListActiveRechargePromotionReply) ProtoReflect ¶
func (x *ListActiveRechargePromotionReply) ProtoReflect() protoreflect.Message
func (*ListActiveRechargePromotionReply) Reset ¶
func (x *ListActiveRechargePromotionReply) Reset()
func (*ListActiveRechargePromotionReply) String ¶
func (x *ListActiveRechargePromotionReply) String() string
func (*ListActiveRechargePromotionReply) Validate ¶
func (m *ListActiveRechargePromotionReply) Validate() error
Validate checks the field values on ListActiveRechargePromotionReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListActiveRechargePromotionReply) ValidateAll ¶
func (m *ListActiveRechargePromotionReply) ValidateAll() error
ValidateAll checks the field values on ListActiveRechargePromotionReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListActiveRechargePromotionReplyMultiError, or nil if none found.
type ListActiveRechargePromotionReplyMultiError ¶
type ListActiveRechargePromotionReplyMultiError []error
ListActiveRechargePromotionReplyMultiError is an error wrapping multiple validation errors returned by ListActiveRechargePromotionReply.ValidateAll() if the designated constraints aren't met.
func (ListActiveRechargePromotionReplyMultiError) AllErrors ¶
func (m ListActiveRechargePromotionReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListActiveRechargePromotionReplyMultiError) Error ¶
func (m ListActiveRechargePromotionReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListActiveRechargePromotionReplyValidationError ¶
type ListActiveRechargePromotionReplyValidationError struct {
// contains filtered or unexported fields
}
ListActiveRechargePromotionReplyValidationError is the validation error returned by ListActiveRechargePromotionReply.Validate if the designated constraints aren't met.
func (ListActiveRechargePromotionReplyValidationError) Cause ¶
func (e ListActiveRechargePromotionReplyValidationError) Cause() error
Cause function returns cause value.
func (ListActiveRechargePromotionReplyValidationError) Error ¶
func (e ListActiveRechargePromotionReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListActiveRechargePromotionReplyValidationError) ErrorName ¶
func (e ListActiveRechargePromotionReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListActiveRechargePromotionReplyValidationError) Field ¶
func (e ListActiveRechargePromotionReplyValidationError) Field() string
Field function returns field value.
func (ListActiveRechargePromotionReplyValidationError) Key ¶
func (e ListActiveRechargePromotionReplyValidationError) Key() bool
Key function returns key value.
func (ListActiveRechargePromotionReplyValidationError) Reason ¶
func (e ListActiveRechargePromotionReplyValidationError) Reason() string
Reason function returns reason value.
type ListActiveRechargePromotionRequest ¶
type ListActiveRechargePromotionRequest struct {
// contains filtered or unexported fields
}
func (*ListActiveRechargePromotionRequest) Descriptor
deprecated
func (*ListActiveRechargePromotionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListActiveRechargePromotionRequest.ProtoReflect.Descriptor instead.
func (*ListActiveRechargePromotionRequest) ProtoMessage ¶
func (*ListActiveRechargePromotionRequest) ProtoMessage()
func (*ListActiveRechargePromotionRequest) ProtoReflect ¶
func (x *ListActiveRechargePromotionRequest) ProtoReflect() protoreflect.Message
func (*ListActiveRechargePromotionRequest) Reset ¶
func (x *ListActiveRechargePromotionRequest) Reset()
func (*ListActiveRechargePromotionRequest) String ¶
func (x *ListActiveRechargePromotionRequest) String() string
func (*ListActiveRechargePromotionRequest) Validate ¶
func (m *ListActiveRechargePromotionRequest) Validate() error
Validate checks the field values on ListActiveRechargePromotionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListActiveRechargePromotionRequest) ValidateAll ¶
func (m *ListActiveRechargePromotionRequest) ValidateAll() error
ValidateAll checks the field values on ListActiveRechargePromotionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListActiveRechargePromotionRequestMultiError, or nil if none found.
type ListActiveRechargePromotionRequestMultiError ¶
type ListActiveRechargePromotionRequestMultiError []error
ListActiveRechargePromotionRequestMultiError is an error wrapping multiple validation errors returned by ListActiveRechargePromotionRequest.ValidateAll() if the designated constraints aren't met.
func (ListActiveRechargePromotionRequestMultiError) AllErrors ¶
func (m ListActiveRechargePromotionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListActiveRechargePromotionRequestMultiError) Error ¶
func (m ListActiveRechargePromotionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListActiveRechargePromotionRequestValidationError ¶
type ListActiveRechargePromotionRequestValidationError struct {
// contains filtered or unexported fields
}
ListActiveRechargePromotionRequestValidationError is the validation error returned by ListActiveRechargePromotionRequest.Validate if the designated constraints aren't met.
func (ListActiveRechargePromotionRequestValidationError) Cause ¶
func (e ListActiveRechargePromotionRequestValidationError) Cause() error
Cause function returns cause value.
func (ListActiveRechargePromotionRequestValidationError) Error ¶
func (e ListActiveRechargePromotionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListActiveRechargePromotionRequestValidationError) ErrorName ¶
func (e ListActiveRechargePromotionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListActiveRechargePromotionRequestValidationError) Field ¶
func (e ListActiveRechargePromotionRequestValidationError) Field() string
Field function returns field value.
func (ListActiveRechargePromotionRequestValidationError) Key ¶
func (e ListActiveRechargePromotionRequestValidationError) Key() bool
Key function returns key value.
func (ListActiveRechargePromotionRequestValidationError) Reason ¶
func (e ListActiveRechargePromotionRequestValidationError) Reason() string
Reason function returns reason value.
type RechargePromotionPublicServiceClient ¶
type RechargePromotionPublicServiceClient interface {
// ListActiveRechargePromotion 列出当前生效的充值促销活动(含档位)
ListActiveRechargePromotion(ctx context.Context, in *ListActiveRechargePromotionRequest, opts ...grpc.CallOption) (*ListActiveRechargePromotionReply, error)
}
RechargePromotionPublicServiceClient is the client API for RechargePromotionPublicService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
RechargePromotionPublicService 充值促销用户端服务(查询当前有效活动)
func NewRechargePromotionPublicServiceClient ¶
func NewRechargePromotionPublicServiceClient(cc grpc.ClientConnInterface) RechargePromotionPublicServiceClient
type RechargePromotionPublicServiceHTTPClient ¶
type RechargePromotionPublicServiceHTTPClient interface {
// ListActiveRechargePromotion ListActiveRechargePromotion 列出当前生效的充值促销活动(含档位)
ListActiveRechargePromotion(ctx context.Context, req *ListActiveRechargePromotionRequest, opts ...http.CallOption) (rsp *ListActiveRechargePromotionReply, err error)
}
func NewRechargePromotionPublicServiceHTTPClient ¶
func NewRechargePromotionPublicServiceHTTPClient(client *http.Client) RechargePromotionPublicServiceHTTPClient
type RechargePromotionPublicServiceHTTPClientImpl ¶
type RechargePromotionPublicServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*RechargePromotionPublicServiceHTTPClientImpl) ListActiveRechargePromotion ¶
func (c *RechargePromotionPublicServiceHTTPClientImpl) ListActiveRechargePromotion(ctx context.Context, in *ListActiveRechargePromotionRequest, opts ...http.CallOption) (*ListActiveRechargePromotionReply, error)
ListActiveRechargePromotion ListActiveRechargePromotion 列出当前生效的充值促销活动(含档位)
type RechargePromotionPublicServiceHTTPServer ¶
type RechargePromotionPublicServiceHTTPServer interface {
// ListActiveRechargePromotion ListActiveRechargePromotion 列出当前生效的充值促销活动(含档位)
ListActiveRechargePromotion(context.Context, *ListActiveRechargePromotionRequest) (*ListActiveRechargePromotionReply, error)
}
type RechargePromotionPublicServiceServer ¶
type RechargePromotionPublicServiceServer interface {
// ListActiveRechargePromotion 列出当前生效的充值促销活动(含档位)
ListActiveRechargePromotion(context.Context, *ListActiveRechargePromotionRequest) (*ListActiveRechargePromotionReply, error)
// contains filtered or unexported methods
}
RechargePromotionPublicServiceServer is the server API for RechargePromotionPublicService service. All implementations must embed UnimplementedRechargePromotionPublicServiceServer for forward compatibility.
RechargePromotionPublicService 充值促销用户端服务(查询当前有效活动)
type UnimplementedRechargePromotionPublicServiceServer ¶
type UnimplementedRechargePromotionPublicServiceServer struct{}
UnimplementedRechargePromotionPublicServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedRechargePromotionPublicServiceServer) ListActiveRechargePromotion ¶
func (UnimplementedRechargePromotionPublicServiceServer) ListActiveRechargePromotion(context.Context, *ListActiveRechargePromotionRequest) (*ListActiveRechargePromotionReply, error)
type UnsafeRechargePromotionPublicServiceServer ¶
type UnsafeRechargePromotionPublicServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRechargePromotionPublicServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RechargePromotionPublicServiceServer will result in compilation errors.