Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPublicSubscribeHTTPServer(s *http.Server, srv PublicSubscribeHTTPServer)
- func RegisterPublicSubscribeServer(s grpc.ServiceRegistrar, srv PublicSubscribeServer)
- type PublicSubscribeClient
- type PublicSubscribeHTTPClient
- type PublicSubscribeHTTPClientImpl
- func (c *PublicSubscribeHTTPClientImpl) QuerySubscribeCatalog(ctx context.Context, in *QuerySubscribeCatalogRequest, opts ...http.CallOption) (*QuerySubscribeCatalogReply, error)
- func (c *PublicSubscribeHTTPClientImpl) QuerySubscribeList(ctx context.Context, in *QuerySubscribeListRequest, opts ...http.CallOption) (*QuerySubscribeListReply, error)
- func (c *PublicSubscribeHTTPClientImpl) QueryUserSubscribeNodeList(ctx context.Context, in *QueryUserSubscribeNodeListRequest, ...) (*QueryUserSubscribeNodeListReply, error)
- type PublicSubscribeHTTPServer
- type PublicSubscribeServer
- type QuerySubscribeCatalogReply
- func (*QuerySubscribeCatalogReply) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySubscribeCatalogReply) GetCategories() []*SubscribeCategory
- func (x *QuerySubscribeCatalogReply) GetTotal() int32
- func (x *QuerySubscribeCatalogReply) GetUncategorized() []*Subscribe
- func (*QuerySubscribeCatalogReply) ProtoMessage()
- func (x *QuerySubscribeCatalogReply) ProtoReflect() protoreflect.Message
- func (x *QuerySubscribeCatalogReply) Reset()
- func (x *QuerySubscribeCatalogReply) String() string
- func (m *QuerySubscribeCatalogReply) Validate() error
- func (m *QuerySubscribeCatalogReply) ValidateAll() error
- type QuerySubscribeCatalogReplyMultiError
- type QuerySubscribeCatalogReplyValidationError
- func (e QuerySubscribeCatalogReplyValidationError) Cause() error
- func (e QuerySubscribeCatalogReplyValidationError) Error() string
- func (e QuerySubscribeCatalogReplyValidationError) ErrorName() string
- func (e QuerySubscribeCatalogReplyValidationError) Field() string
- func (e QuerySubscribeCatalogReplyValidationError) Key() bool
- func (e QuerySubscribeCatalogReplyValidationError) Reason() string
- type QuerySubscribeCatalogRequest
- func (*QuerySubscribeCatalogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySubscribeCatalogRequest) GetLanguage() string
- func (*QuerySubscribeCatalogRequest) ProtoMessage()
- func (x *QuerySubscribeCatalogRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySubscribeCatalogRequest) Reset()
- func (x *QuerySubscribeCatalogRequest) String() string
- func (m *QuerySubscribeCatalogRequest) Validate() error
- func (m *QuerySubscribeCatalogRequest) ValidateAll() error
- type QuerySubscribeCatalogRequestMultiError
- type QuerySubscribeCatalogRequestValidationError
- func (e QuerySubscribeCatalogRequestValidationError) Cause() error
- func (e QuerySubscribeCatalogRequestValidationError) Error() string
- func (e QuerySubscribeCatalogRequestValidationError) ErrorName() string
- func (e QuerySubscribeCatalogRequestValidationError) Field() string
- func (e QuerySubscribeCatalogRequestValidationError) Key() bool
- func (e QuerySubscribeCatalogRequestValidationError) Reason() string
- type QuerySubscribeListReply
- func (*QuerySubscribeListReply) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySubscribeListReply) GetList() []*Subscribe
- func (x *QuerySubscribeListReply) GetTotal() int32
- func (*QuerySubscribeListReply) ProtoMessage()
- func (x *QuerySubscribeListReply) ProtoReflect() protoreflect.Message
- func (x *QuerySubscribeListReply) Reset()
- func (x *QuerySubscribeListReply) String() string
- func (m *QuerySubscribeListReply) Validate() error
- func (m *QuerySubscribeListReply) ValidateAll() error
- type QuerySubscribeListReplyMultiError
- type QuerySubscribeListReplyValidationError
- func (e QuerySubscribeListReplyValidationError) Cause() error
- func (e QuerySubscribeListReplyValidationError) Error() string
- func (e QuerySubscribeListReplyValidationError) ErrorName() string
- func (e QuerySubscribeListReplyValidationError) Field() string
- func (e QuerySubscribeListReplyValidationError) Key() bool
- func (e QuerySubscribeListReplyValidationError) Reason() string
- type QuerySubscribeListRequest
- func (*QuerySubscribeListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySubscribeListRequest) GetCategoryId() int64
- func (x *QuerySubscribeListRequest) GetLanguage() string
- func (*QuerySubscribeListRequest) ProtoMessage()
- func (x *QuerySubscribeListRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySubscribeListRequest) Reset()
- func (x *QuerySubscribeListRequest) String() string
- func (m *QuerySubscribeListRequest) Validate() error
- func (m *QuerySubscribeListRequest) ValidateAll() error
- type QuerySubscribeListRequestMultiError
- type QuerySubscribeListRequestValidationError
- func (e QuerySubscribeListRequestValidationError) Cause() error
- func (e QuerySubscribeListRequestValidationError) Error() string
- func (e QuerySubscribeListRequestValidationError) ErrorName() string
- func (e QuerySubscribeListRequestValidationError) Field() string
- func (e QuerySubscribeListRequestValidationError) Key() bool
- func (e QuerySubscribeListRequestValidationError) Reason() string
- type QueryUserSubscribeNodeListReply
- func (*QueryUserSubscribeNodeListReply) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUserSubscribeNodeListReply) GetList() []*UserSubscribeInfo
- func (*QueryUserSubscribeNodeListReply) ProtoMessage()
- func (x *QueryUserSubscribeNodeListReply) ProtoReflect() protoreflect.Message
- func (x *QueryUserSubscribeNodeListReply) Reset()
- func (x *QueryUserSubscribeNodeListReply) String() string
- func (m *QueryUserSubscribeNodeListReply) Validate() error
- func (m *QueryUserSubscribeNodeListReply) ValidateAll() error
- type QueryUserSubscribeNodeListReplyMultiError
- type QueryUserSubscribeNodeListReplyValidationError
- func (e QueryUserSubscribeNodeListReplyValidationError) Cause() error
- func (e QueryUserSubscribeNodeListReplyValidationError) Error() string
- func (e QueryUserSubscribeNodeListReplyValidationError) ErrorName() string
- func (e QueryUserSubscribeNodeListReplyValidationError) Field() string
- func (e QueryUserSubscribeNodeListReplyValidationError) Key() bool
- func (e QueryUserSubscribeNodeListReplyValidationError) Reason() string
- type QueryUserSubscribeNodeListRequest
- func (*QueryUserSubscribeNodeListRequest) Descriptor() ([]byte, []int)deprecated
- func (*QueryUserSubscribeNodeListRequest) ProtoMessage()
- func (x *QueryUserSubscribeNodeListRequest) ProtoReflect() protoreflect.Message
- func (x *QueryUserSubscribeNodeListRequest) Reset()
- func (x *QueryUserSubscribeNodeListRequest) String() string
- func (m *QueryUserSubscribeNodeListRequest) Validate() error
- func (m *QueryUserSubscribeNodeListRequest) ValidateAll() error
- type QueryUserSubscribeNodeListRequestMultiError
- type QueryUserSubscribeNodeListRequestValidationError
- func (e QueryUserSubscribeNodeListRequestValidationError) Cause() error
- func (e QueryUserSubscribeNodeListRequestValidationError) Error() string
- func (e QueryUserSubscribeNodeListRequestValidationError) ErrorName() string
- func (e QueryUserSubscribeNodeListRequestValidationError) Field() string
- func (e QueryUserSubscribeNodeListRequestValidationError) Key() bool
- func (e QueryUserSubscribeNodeListRequestValidationError) Reason() string
- type Subscribe
- func (*Subscribe) Descriptor() ([]byte, []int)deprecated
- func (x *Subscribe) GetAllowDeduction() bool
- func (x *Subscribe) GetCategoryId() int64
- func (x *Subscribe) GetCategoryName() string
- func (x *Subscribe) GetCreatedAt() int64
- func (x *Subscribe) GetDeductionRatio() int32
- func (x *Subscribe) GetDescription() string
- func (x *Subscribe) GetDetailContent() string
- func (x *Subscribe) GetDetailFormat() string
- func (x *Subscribe) GetDeviceLimit() int32
- func (x *Subscribe) GetDiscount() []*SubscribeDiscount
- func (x *Subscribe) GetFeatures() string
- func (x *Subscribe) GetId() int64
- func (x *Subscribe) GetInventory() int32
- func (x *Subscribe) GetLanguage() string
- func (x *Subscribe) GetName() string
- func (x *Subscribe) GetNodeGroupId() int64
- func (x *Subscribe) GetNodeGroupIds() []int64
- func (x *Subscribe) GetNodeTags() []string
- func (x *Subscribe) GetNodes() []int64
- func (x *Subscribe) GetPriceOptions() []*SubscribePriceOption
- func (x *Subscribe) GetQuota() int32
- func (x *Subscribe) GetRenewalReset() bool
- func (x *Subscribe) GetReplacement() int64
- func (x *Subscribe) GetResetCycle() int32
- func (x *Subscribe) GetSell() bool
- func (x *Subscribe) GetShortDescription() string
- func (x *Subscribe) GetShow() bool
- func (x *Subscribe) GetShowOriginalPrice() bool
- func (x *Subscribe) GetSort() int32
- func (x *Subscribe) GetSpeedLimit() int32
- func (x *Subscribe) GetTraffic() int64
- func (x *Subscribe) GetTrafficLimit() []*TrafficLimit
- func (x *Subscribe) GetUnitPrice() int64
- func (x *Subscribe) GetUnitTime() string
- func (x *Subscribe) GetUpdatedAt() int64
- func (*Subscribe) ProtoMessage()
- func (x *Subscribe) ProtoReflect() protoreflect.Message
- func (x *Subscribe) Reset()
- func (x *Subscribe) String() string
- func (m *Subscribe) Validate() error
- func (m *Subscribe) ValidateAll() error
- type SubscribeCategory
- func (*SubscribeCategory) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeCategory) GetChildren() []*SubscribeCategory
- func (x *SubscribeCategory) GetDescription() string
- func (x *SubscribeCategory) GetId() int64
- func (x *SubscribeCategory) GetLanguage() string
- func (x *SubscribeCategory) GetList() []*Subscribe
- func (x *SubscribeCategory) GetName() string
- func (x *SubscribeCategory) GetParentId() int64
- func (x *SubscribeCategory) GetShow() bool
- func (x *SubscribeCategory) GetSort() int32
- func (*SubscribeCategory) ProtoMessage()
- func (x *SubscribeCategory) ProtoReflect() protoreflect.Message
- func (x *SubscribeCategory) Reset()
- func (x *SubscribeCategory) String() string
- func (m *SubscribeCategory) Validate() error
- func (m *SubscribeCategory) ValidateAll() error
- type SubscribeCategoryMultiError
- type SubscribeCategoryValidationError
- func (e SubscribeCategoryValidationError) Cause() error
- func (e SubscribeCategoryValidationError) Error() string
- func (e SubscribeCategoryValidationError) ErrorName() string
- func (e SubscribeCategoryValidationError) Field() string
- func (e SubscribeCategoryValidationError) Key() bool
- func (e SubscribeCategoryValidationError) Reason() string
- type SubscribeDiscount
- func (*SubscribeDiscount) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeDiscount) GetDiscount() float64
- func (x *SubscribeDiscount) GetQuantity() int64
- func (*SubscribeDiscount) ProtoMessage()
- func (x *SubscribeDiscount) ProtoReflect() protoreflect.Message
- func (x *SubscribeDiscount) Reset()
- func (x *SubscribeDiscount) String() string
- func (m *SubscribeDiscount) Validate() error
- func (m *SubscribeDiscount) ValidateAll() error
- type SubscribeDiscountMultiError
- type SubscribeDiscountValidationError
- func (e SubscribeDiscountValidationError) Cause() error
- func (e SubscribeDiscountValidationError) Error() string
- func (e SubscribeDiscountValidationError) ErrorName() string
- func (e SubscribeDiscountValidationError) Field() string
- func (e SubscribeDiscountValidationError) Key() bool
- func (e SubscribeDiscountValidationError) Reason() string
- type SubscribeMultiError
- type SubscribePriceOption
- func (*SubscribePriceOption) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribePriceOption) GetCode() string
- func (x *SubscribePriceOption) GetCreatedAt() int64
- func (x *SubscribePriceOption) GetDurationUnit() string
- func (x *SubscribePriceOption) GetDurationValue() int64
- func (x *SubscribePriceOption) GetId() int64
- func (x *SubscribePriceOption) GetInventory() int32
- func (x *SubscribePriceOption) GetIsDefault() bool
- func (x *SubscribePriceOption) GetName() string
- func (x *SubscribePriceOption) GetOriginalPrice() int64
- func (x *SubscribePriceOption) GetPrice() int64
- func (x *SubscribePriceOption) GetSell() bool
- func (x *SubscribePriceOption) GetShow() bool
- func (x *SubscribePriceOption) GetSort() int32
- func (x *SubscribePriceOption) GetSubscribeId() int64
- func (x *SubscribePriceOption) GetType() string
- func (x *SubscribePriceOption) GetUpdatedAt() int64
- func (*SubscribePriceOption) ProtoMessage()
- func (x *SubscribePriceOption) ProtoReflect() protoreflect.Message
- func (x *SubscribePriceOption) Reset()
- func (x *SubscribePriceOption) String() string
- func (m *SubscribePriceOption) Validate() error
- func (m *SubscribePriceOption) ValidateAll() error
- type SubscribePriceOptionMultiError
- type SubscribePriceOptionValidationError
- func (e SubscribePriceOptionValidationError) Cause() error
- func (e SubscribePriceOptionValidationError) Error() string
- func (e SubscribePriceOptionValidationError) ErrorName() string
- func (e SubscribePriceOptionValidationError) Field() string
- func (e SubscribePriceOptionValidationError) Key() bool
- func (e SubscribePriceOptionValidationError) Reason() string
- type SubscribeValidationError
- type TrafficLimit
- func (*TrafficLimit) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficLimit) GetSpeedLimit() int32
- func (x *TrafficLimit) GetStatType() string
- func (x *TrafficLimit) GetStatValue() int64
- func (x *TrafficLimit) GetTrafficUsage() int64
- func (*TrafficLimit) ProtoMessage()
- func (x *TrafficLimit) ProtoReflect() protoreflect.Message
- func (x *TrafficLimit) Reset()
- func (x *TrafficLimit) String() string
- func (m *TrafficLimit) Validate() error
- func (m *TrafficLimit) ValidateAll() error
- type TrafficLimitMultiError
- type TrafficLimitValidationError
- func (e TrafficLimitValidationError) Cause() error
- func (e TrafficLimitValidationError) Error() string
- func (e TrafficLimitValidationError) ErrorName() string
- func (e TrafficLimitValidationError) Field() string
- func (e TrafficLimitValidationError) Key() bool
- func (e TrafficLimitValidationError) Reason() string
- type UnimplementedPublicSubscribeServer
- func (UnimplementedPublicSubscribeServer) QuerySubscribeCatalog(context.Context, *QuerySubscribeCatalogRequest) (*QuerySubscribeCatalogReply, error)
- func (UnimplementedPublicSubscribeServer) QuerySubscribeList(context.Context, *QuerySubscribeListRequest) (*QuerySubscribeListReply, error)
- func (UnimplementedPublicSubscribeServer) QueryUserSubscribeNodeList(context.Context, *QueryUserSubscribeNodeListRequest) (*QueryUserSubscribeNodeListReply, error)
- type UnsafePublicSubscribeServer
- type UserSubscribeInfo
- func (*UserSubscribeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserSubscribeInfo) GetCreatedAt() int64
- func (x *UserSubscribeInfo) GetDownload() int64
- func (x *UserSubscribeInfo) GetExpireTime() int64
- func (x *UserSubscribeInfo) GetFinishedAt() int64
- func (x *UserSubscribeInfo) GetId() int64
- func (x *UserSubscribeInfo) GetIsTryOut() bool
- func (x *UserSubscribeInfo) GetNodes() []*UserSubscribeNodeInfo
- func (x *UserSubscribeInfo) GetOrderId() int64
- func (x *UserSubscribeInfo) GetResetTime() int64
- func (x *UserSubscribeInfo) GetStartTime() int64
- func (x *UserSubscribeInfo) GetStatus() uint32
- func (x *UserSubscribeInfo) GetSubscribeId() int64
- func (x *UserSubscribeInfo) GetToken() string
- func (x *UserSubscribeInfo) GetTraffic() int64
- func (x *UserSubscribeInfo) GetUpdatedAt() int64
- func (x *UserSubscribeInfo) GetUpload() int64
- func (x *UserSubscribeInfo) GetUserId() int64
- func (*UserSubscribeInfo) ProtoMessage()
- func (x *UserSubscribeInfo) ProtoReflect() protoreflect.Message
- func (x *UserSubscribeInfo) Reset()
- func (x *UserSubscribeInfo) String() string
- func (m *UserSubscribeInfo) Validate() error
- func (m *UserSubscribeInfo) ValidateAll() error
- type UserSubscribeInfoMultiError
- type UserSubscribeInfoValidationError
- func (e UserSubscribeInfoValidationError) Cause() error
- func (e UserSubscribeInfoValidationError) Error() string
- func (e UserSubscribeInfoValidationError) ErrorName() string
- func (e UserSubscribeInfoValidationError) Field() string
- func (e UserSubscribeInfoValidationError) Key() bool
- func (e UserSubscribeInfoValidationError) Reason() string
- type UserSubscribeNodeInfo
- func (*UserSubscribeNodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserSubscribeNodeInfo) GetAddress() string
- func (x *UserSubscribeNodeInfo) GetCity() string
- func (x *UserSubscribeNodeInfo) GetCountry() string
- func (x *UserSubscribeNodeInfo) GetCreatedAt() int64
- func (x *UserSubscribeNodeInfo) GetId() int64
- func (x *UserSubscribeNodeInfo) GetLatitude() string
- func (x *UserSubscribeNodeInfo) GetLatitudeCenter() string
- func (x *UserSubscribeNodeInfo) GetLongitude() string
- func (x *UserSubscribeNodeInfo) GetLongitudeCenter() string
- func (x *UserSubscribeNodeInfo) GetName() string
- func (x *UserSubscribeNodeInfo) GetOmniflowAdaptiveTlsEnabled() bool
- func (x *UserSubscribeNodeInfo) GetOmniflowAfEnabled() bool
- func (x *UserSubscribeNodeInfo) GetOmniflowAfPathMode() string
- func (x *UserSubscribeNodeInfo) GetOmniflowAfPathPrefix() string
- func (x *UserSubscribeNodeInfo) GetOmniflowAfPathRotationSecs() int32
- func (x *UserSubscribeNodeInfo) GetOmniflowAfPathSkewSlots() int32
- func (x *UserSubscribeNodeInfo) GetOmniflowAfPathSuffix() string
- func (x *UserSubscribeNodeInfo) GetOmniflowCaCertPath() string
- func (x *UserSubscribeNodeInfo) GetOmniflowCarrier() string
- func (x *UserSubscribeNodeInfo) GetOmniflowContentType() string
- func (x *UserSubscribeNodeInfo) GetOmniflowPaddingMode() string
- func (x *UserSubscribeNodeInfo) GetOmniflowPath() string
- func (x *UserSubscribeNodeInfo) GetOmniflowProfileJson() string
- func (x *UserSubscribeNodeInfo) GetOmniflowSniMode() string
- func (x *UserSubscribeNodeInfo) GetOmniflowSpkiPin() string
- func (x *UserSubscribeNodeInfo) GetOmniflowTargetMeta() string
- func (x *UserSubscribeNodeInfo) GetOmniflowTlsFingerprint() string
- func (x *UserSubscribeNodeInfo) GetPort() uint32
- func (x *UserSubscribeNodeInfo) GetProtocol() string
- func (x *UserSubscribeNodeInfo) GetProtocols() string
- func (x *UserSubscribeNodeInfo) GetSni() string
- func (x *UserSubscribeNodeInfo) GetTags() []string
- func (x *UserSubscribeNodeInfo) GetUuid() string
- func (*UserSubscribeNodeInfo) ProtoMessage()
- func (x *UserSubscribeNodeInfo) ProtoReflect() protoreflect.Message
- func (x *UserSubscribeNodeInfo) Reset()
- func (x *UserSubscribeNodeInfo) String() string
- func (m *UserSubscribeNodeInfo) Validate() error
- func (m *UserSubscribeNodeInfo) ValidateAll() error
- type UserSubscribeNodeInfoMultiError
- type UserSubscribeNodeInfoValidationError
- func (e UserSubscribeNodeInfoValidationError) Cause() error
- func (e UserSubscribeNodeInfoValidationError) Error() string
- func (e UserSubscribeNodeInfoValidationError) ErrorName() string
- func (e UserSubscribeNodeInfoValidationError) Field() string
- func (e UserSubscribeNodeInfoValidationError) Key() bool
- func (e UserSubscribeNodeInfoValidationError) Reason() string
Constants ¶
const ( PublicSubscribe_QuerySubscribeList_FullMethodName = "/api.public.subscribe.v1.PublicSubscribe/QuerySubscribeList" PublicSubscribe_QuerySubscribeCatalog_FullMethodName = "/api.public.subscribe.v1.PublicSubscribe/QuerySubscribeCatalog" PublicSubscribe_QueryUserSubscribeNodeList_FullMethodName = "/api.public.subscribe.v1.PublicSubscribe/QueryUserSubscribeNodeList" )
const OperationPublicSubscribeQuerySubscribeCatalog = "/api.public.subscribe.v1.PublicSubscribe/QuerySubscribeCatalog"
const OperationPublicSubscribeQuerySubscribeList = "/api.public.subscribe.v1.PublicSubscribe/QuerySubscribeList"
const OperationPublicSubscribeQueryUserSubscribeNodeList = "/api.public.subscribe.v1.PublicSubscribe/QueryUserSubscribeNodeList"
Variables ¶
var File_public_subscribe_v1_subscribe_proto protoreflect.FileDescriptor
var PublicSubscribe_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.public.subscribe.v1.PublicSubscribe", HandlerType: (*PublicSubscribeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "QuerySubscribeList", Handler: _PublicSubscribe_QuerySubscribeList_Handler, }, { MethodName: "QuerySubscribeCatalog", Handler: _PublicSubscribe_QuerySubscribeCatalog_Handler, }, { MethodName: "QueryUserSubscribeNodeList", Handler: _PublicSubscribe_QueryUserSubscribeNodeList_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "public/subscribe/v1/subscribe.proto", }
PublicSubscribe_ServiceDesc is the grpc.ServiceDesc for PublicSubscribe service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPublicSubscribeHTTPServer ¶
func RegisterPublicSubscribeHTTPServer(s *http.Server, srv PublicSubscribeHTTPServer)
func RegisterPublicSubscribeServer ¶
func RegisterPublicSubscribeServer(s grpc.ServiceRegistrar, srv PublicSubscribeServer)
Types ¶
type PublicSubscribeClient ¶
type PublicSubscribeClient interface {
QuerySubscribeList(ctx context.Context, in *QuerySubscribeListRequest, opts ...grpc.CallOption) (*QuerySubscribeListReply, error)
QuerySubscribeCatalog(ctx context.Context, in *QuerySubscribeCatalogRequest, opts ...grpc.CallOption) (*QuerySubscribeCatalogReply, error)
QueryUserSubscribeNodeList(ctx context.Context, in *QueryUserSubscribeNodeListRequest, opts ...grpc.CallOption) (*QueryUserSubscribeNodeListReply, error)
}
PublicSubscribeClient is the client API for PublicSubscribe 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.
func NewPublicSubscribeClient ¶
func NewPublicSubscribeClient(cc grpc.ClientConnInterface) PublicSubscribeClient
type PublicSubscribeHTTPClient ¶
type PublicSubscribeHTTPClient interface {
QuerySubscribeCatalog(ctx context.Context, req *QuerySubscribeCatalogRequest, opts ...http.CallOption) (rsp *QuerySubscribeCatalogReply, err error)
QuerySubscribeList(ctx context.Context, req *QuerySubscribeListRequest, opts ...http.CallOption) (rsp *QuerySubscribeListReply, err error)
QueryUserSubscribeNodeList(ctx context.Context, req *QueryUserSubscribeNodeListRequest, opts ...http.CallOption) (rsp *QueryUserSubscribeNodeListReply, err error)
}
func NewPublicSubscribeHTTPClient ¶
func NewPublicSubscribeHTTPClient(client *http.Client) PublicSubscribeHTTPClient
type PublicSubscribeHTTPClientImpl ¶
type PublicSubscribeHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*PublicSubscribeHTTPClientImpl) QuerySubscribeCatalog ¶ added in v1.0.9
func (c *PublicSubscribeHTTPClientImpl) QuerySubscribeCatalog(ctx context.Context, in *QuerySubscribeCatalogRequest, opts ...http.CallOption) (*QuerySubscribeCatalogReply, error)
func (*PublicSubscribeHTTPClientImpl) QuerySubscribeList ¶
func (c *PublicSubscribeHTTPClientImpl) QuerySubscribeList(ctx context.Context, in *QuerySubscribeListRequest, opts ...http.CallOption) (*QuerySubscribeListReply, error)
func (*PublicSubscribeHTTPClientImpl) QueryUserSubscribeNodeList ¶
func (c *PublicSubscribeHTTPClientImpl) QueryUserSubscribeNodeList(ctx context.Context, in *QueryUserSubscribeNodeListRequest, opts ...http.CallOption) (*QueryUserSubscribeNodeListReply, error)
type PublicSubscribeHTTPServer ¶
type PublicSubscribeHTTPServer interface {
QuerySubscribeCatalog(context.Context, *QuerySubscribeCatalogRequest) (*QuerySubscribeCatalogReply, error)
QuerySubscribeList(context.Context, *QuerySubscribeListRequest) (*QuerySubscribeListReply, error)
QueryUserSubscribeNodeList(context.Context, *QueryUserSubscribeNodeListRequest) (*QueryUserSubscribeNodeListReply, error)
}
type PublicSubscribeServer ¶
type PublicSubscribeServer interface {
QuerySubscribeList(context.Context, *QuerySubscribeListRequest) (*QuerySubscribeListReply, error)
QuerySubscribeCatalog(context.Context, *QuerySubscribeCatalogRequest) (*QuerySubscribeCatalogReply, error)
QueryUserSubscribeNodeList(context.Context, *QueryUserSubscribeNodeListRequest) (*QueryUserSubscribeNodeListReply, error)
// contains filtered or unexported methods
}
PublicSubscribeServer is the server API for PublicSubscribe service. All implementations must embed UnimplementedPublicSubscribeServer for forward compatibility.
type QuerySubscribeCatalogReply ¶ added in v1.0.9
type QuerySubscribeCatalogReply struct {
Categories []*SubscribeCategory `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
Uncategorized []*Subscribe `protobuf:"bytes,2,rep,name=uncategorized,proto3" json:"uncategorized,omitempty"`
Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*QuerySubscribeCatalogReply) Descriptor
deprecated
added in
v1.0.9
func (*QuerySubscribeCatalogReply) Descriptor() ([]byte, []int)
Deprecated: Use QuerySubscribeCatalogReply.ProtoReflect.Descriptor instead.
func (*QuerySubscribeCatalogReply) GetCategories ¶ added in v1.0.9
func (x *QuerySubscribeCatalogReply) GetCategories() []*SubscribeCategory
func (*QuerySubscribeCatalogReply) GetTotal ¶ added in v1.0.9
func (x *QuerySubscribeCatalogReply) GetTotal() int32
func (*QuerySubscribeCatalogReply) GetUncategorized ¶ added in v1.0.9
func (x *QuerySubscribeCatalogReply) GetUncategorized() []*Subscribe
func (*QuerySubscribeCatalogReply) ProtoMessage ¶ added in v1.0.9
func (*QuerySubscribeCatalogReply) ProtoMessage()
func (*QuerySubscribeCatalogReply) ProtoReflect ¶ added in v1.0.9
func (x *QuerySubscribeCatalogReply) ProtoReflect() protoreflect.Message
func (*QuerySubscribeCatalogReply) Reset ¶ added in v1.0.9
func (x *QuerySubscribeCatalogReply) Reset()
func (*QuerySubscribeCatalogReply) String ¶ added in v1.0.9
func (x *QuerySubscribeCatalogReply) String() string
func (*QuerySubscribeCatalogReply) Validate ¶ added in v1.0.9
func (m *QuerySubscribeCatalogReply) Validate() error
Validate checks the field values on QuerySubscribeCatalogReply 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 (*QuerySubscribeCatalogReply) ValidateAll ¶ added in v1.0.9
func (m *QuerySubscribeCatalogReply) ValidateAll() error
ValidateAll checks the field values on QuerySubscribeCatalogReply 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 QuerySubscribeCatalogReplyMultiError, or nil if none found.
type QuerySubscribeCatalogReplyMultiError ¶ added in v1.0.9
type QuerySubscribeCatalogReplyMultiError []error
QuerySubscribeCatalogReplyMultiError is an error wrapping multiple validation errors returned by QuerySubscribeCatalogReply.ValidateAll() if the designated constraints aren't met.
func (QuerySubscribeCatalogReplyMultiError) AllErrors ¶ added in v1.0.9
func (m QuerySubscribeCatalogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QuerySubscribeCatalogReplyMultiError) Error ¶ added in v1.0.9
func (m QuerySubscribeCatalogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QuerySubscribeCatalogReplyValidationError ¶ added in v1.0.9
type QuerySubscribeCatalogReplyValidationError struct {
// contains filtered or unexported fields
}
QuerySubscribeCatalogReplyValidationError is the validation error returned by QuerySubscribeCatalogReply.Validate if the designated constraints aren't met.
func (QuerySubscribeCatalogReplyValidationError) Cause ¶ added in v1.0.9
func (e QuerySubscribeCatalogReplyValidationError) Cause() error
Cause function returns cause value.
func (QuerySubscribeCatalogReplyValidationError) Error ¶ added in v1.0.9
func (e QuerySubscribeCatalogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (QuerySubscribeCatalogReplyValidationError) ErrorName ¶ added in v1.0.9
func (e QuerySubscribeCatalogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (QuerySubscribeCatalogReplyValidationError) Field ¶ added in v1.0.9
func (e QuerySubscribeCatalogReplyValidationError) Field() string
Field function returns field value.
func (QuerySubscribeCatalogReplyValidationError) Key ¶ added in v1.0.9
func (e QuerySubscribeCatalogReplyValidationError) Key() bool
Key function returns key value.
func (QuerySubscribeCatalogReplyValidationError) Reason ¶ added in v1.0.9
func (e QuerySubscribeCatalogReplyValidationError) Reason() string
Reason function returns reason value.
type QuerySubscribeCatalogRequest ¶ added in v1.0.9
type QuerySubscribeCatalogRequest struct {
Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
// contains filtered or unexported fields
}
func (*QuerySubscribeCatalogRequest) Descriptor
deprecated
added in
v1.0.9
func (*QuerySubscribeCatalogRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySubscribeCatalogRequest.ProtoReflect.Descriptor instead.
func (*QuerySubscribeCatalogRequest) GetLanguage ¶ added in v1.0.9
func (x *QuerySubscribeCatalogRequest) GetLanguage() string
func (*QuerySubscribeCatalogRequest) ProtoMessage ¶ added in v1.0.9
func (*QuerySubscribeCatalogRequest) ProtoMessage()
func (*QuerySubscribeCatalogRequest) ProtoReflect ¶ added in v1.0.9
func (x *QuerySubscribeCatalogRequest) ProtoReflect() protoreflect.Message
func (*QuerySubscribeCatalogRequest) Reset ¶ added in v1.0.9
func (x *QuerySubscribeCatalogRequest) Reset()
func (*QuerySubscribeCatalogRequest) String ¶ added in v1.0.9
func (x *QuerySubscribeCatalogRequest) String() string
func (*QuerySubscribeCatalogRequest) Validate ¶ added in v1.0.9
func (m *QuerySubscribeCatalogRequest) Validate() error
Validate checks the field values on QuerySubscribeCatalogRequest 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 (*QuerySubscribeCatalogRequest) ValidateAll ¶ added in v1.0.9
func (m *QuerySubscribeCatalogRequest) ValidateAll() error
ValidateAll checks the field values on QuerySubscribeCatalogRequest 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 QuerySubscribeCatalogRequestMultiError, or nil if none found.
type QuerySubscribeCatalogRequestMultiError ¶ added in v1.0.9
type QuerySubscribeCatalogRequestMultiError []error
QuerySubscribeCatalogRequestMultiError is an error wrapping multiple validation errors returned by QuerySubscribeCatalogRequest.ValidateAll() if the designated constraints aren't met.
func (QuerySubscribeCatalogRequestMultiError) AllErrors ¶ added in v1.0.9
func (m QuerySubscribeCatalogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QuerySubscribeCatalogRequestMultiError) Error ¶ added in v1.0.9
func (m QuerySubscribeCatalogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QuerySubscribeCatalogRequestValidationError ¶ added in v1.0.9
type QuerySubscribeCatalogRequestValidationError struct {
// contains filtered or unexported fields
}
QuerySubscribeCatalogRequestValidationError is the validation error returned by QuerySubscribeCatalogRequest.Validate if the designated constraints aren't met.
func (QuerySubscribeCatalogRequestValidationError) Cause ¶ added in v1.0.9
func (e QuerySubscribeCatalogRequestValidationError) Cause() error
Cause function returns cause value.
func (QuerySubscribeCatalogRequestValidationError) Error ¶ added in v1.0.9
func (e QuerySubscribeCatalogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QuerySubscribeCatalogRequestValidationError) ErrorName ¶ added in v1.0.9
func (e QuerySubscribeCatalogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QuerySubscribeCatalogRequestValidationError) Field ¶ added in v1.0.9
func (e QuerySubscribeCatalogRequestValidationError) Field() string
Field function returns field value.
func (QuerySubscribeCatalogRequestValidationError) Key ¶ added in v1.0.9
func (e QuerySubscribeCatalogRequestValidationError) Key() bool
Key function returns key value.
func (QuerySubscribeCatalogRequestValidationError) Reason ¶ added in v1.0.9
func (e QuerySubscribeCatalogRequestValidationError) Reason() string
Reason function returns reason value.
type QuerySubscribeListReply ¶
type QuerySubscribeListReply struct {
List []*Subscribe `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*QuerySubscribeListReply) Descriptor
deprecated
func (*QuerySubscribeListReply) Descriptor() ([]byte, []int)
Deprecated: Use QuerySubscribeListReply.ProtoReflect.Descriptor instead.
func (*QuerySubscribeListReply) GetList ¶
func (x *QuerySubscribeListReply) GetList() []*Subscribe
func (*QuerySubscribeListReply) GetTotal ¶
func (x *QuerySubscribeListReply) GetTotal() int32
func (*QuerySubscribeListReply) ProtoMessage ¶
func (*QuerySubscribeListReply) ProtoMessage()
func (*QuerySubscribeListReply) ProtoReflect ¶
func (x *QuerySubscribeListReply) ProtoReflect() protoreflect.Message
func (*QuerySubscribeListReply) Reset ¶
func (x *QuerySubscribeListReply) Reset()
func (*QuerySubscribeListReply) String ¶
func (x *QuerySubscribeListReply) String() string
func (*QuerySubscribeListReply) Validate ¶
func (m *QuerySubscribeListReply) Validate() error
Validate checks the field values on QuerySubscribeListReply 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 (*QuerySubscribeListReply) ValidateAll ¶
func (m *QuerySubscribeListReply) ValidateAll() error
ValidateAll checks the field values on QuerySubscribeListReply 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 QuerySubscribeListReplyMultiError, or nil if none found.
type QuerySubscribeListReplyMultiError ¶
type QuerySubscribeListReplyMultiError []error
QuerySubscribeListReplyMultiError is an error wrapping multiple validation errors returned by QuerySubscribeListReply.ValidateAll() if the designated constraints aren't met.
func (QuerySubscribeListReplyMultiError) AllErrors ¶
func (m QuerySubscribeListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QuerySubscribeListReplyMultiError) Error ¶
func (m QuerySubscribeListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QuerySubscribeListReplyValidationError ¶
type QuerySubscribeListReplyValidationError struct {
// contains filtered or unexported fields
}
QuerySubscribeListReplyValidationError is the validation error returned by QuerySubscribeListReply.Validate if the designated constraints aren't met.
func (QuerySubscribeListReplyValidationError) Cause ¶
func (e QuerySubscribeListReplyValidationError) Cause() error
Cause function returns cause value.
func (QuerySubscribeListReplyValidationError) Error ¶
func (e QuerySubscribeListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (QuerySubscribeListReplyValidationError) ErrorName ¶
func (e QuerySubscribeListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (QuerySubscribeListReplyValidationError) Field ¶
func (e QuerySubscribeListReplyValidationError) Field() string
Field function returns field value.
func (QuerySubscribeListReplyValidationError) Key ¶
func (e QuerySubscribeListReplyValidationError) Key() bool
Key function returns key value.
func (QuerySubscribeListReplyValidationError) Reason ¶
func (e QuerySubscribeListReplyValidationError) Reason() string
Reason function returns reason value.
type QuerySubscribeListRequest ¶
type QuerySubscribeListRequest struct {
Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
CategoryId int64 `protobuf:"varint,2,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
// contains filtered or unexported fields
}
func (*QuerySubscribeListRequest) Descriptor
deprecated
func (*QuerySubscribeListRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySubscribeListRequest.ProtoReflect.Descriptor instead.
func (*QuerySubscribeListRequest) GetCategoryId ¶ added in v1.0.9
func (x *QuerySubscribeListRequest) GetCategoryId() int64
func (*QuerySubscribeListRequest) GetLanguage ¶
func (x *QuerySubscribeListRequest) GetLanguage() string
func (*QuerySubscribeListRequest) ProtoMessage ¶
func (*QuerySubscribeListRequest) ProtoMessage()
func (*QuerySubscribeListRequest) ProtoReflect ¶
func (x *QuerySubscribeListRequest) ProtoReflect() protoreflect.Message
func (*QuerySubscribeListRequest) Reset ¶
func (x *QuerySubscribeListRequest) Reset()
func (*QuerySubscribeListRequest) String ¶
func (x *QuerySubscribeListRequest) String() string
func (*QuerySubscribeListRequest) Validate ¶
func (m *QuerySubscribeListRequest) Validate() error
Validate checks the field values on QuerySubscribeListRequest 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 (*QuerySubscribeListRequest) ValidateAll ¶
func (m *QuerySubscribeListRequest) ValidateAll() error
ValidateAll checks the field values on QuerySubscribeListRequest 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 QuerySubscribeListRequestMultiError, or nil if none found.
type QuerySubscribeListRequestMultiError ¶
type QuerySubscribeListRequestMultiError []error
QuerySubscribeListRequestMultiError is an error wrapping multiple validation errors returned by QuerySubscribeListRequest.ValidateAll() if the designated constraints aren't met.
func (QuerySubscribeListRequestMultiError) AllErrors ¶
func (m QuerySubscribeListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QuerySubscribeListRequestMultiError) Error ¶
func (m QuerySubscribeListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QuerySubscribeListRequestValidationError ¶
type QuerySubscribeListRequestValidationError struct {
// contains filtered or unexported fields
}
QuerySubscribeListRequestValidationError is the validation error returned by QuerySubscribeListRequest.Validate if the designated constraints aren't met.
func (QuerySubscribeListRequestValidationError) Cause ¶
func (e QuerySubscribeListRequestValidationError) Cause() error
Cause function returns cause value.
func (QuerySubscribeListRequestValidationError) Error ¶
func (e QuerySubscribeListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QuerySubscribeListRequestValidationError) ErrorName ¶
func (e QuerySubscribeListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QuerySubscribeListRequestValidationError) Field ¶
func (e QuerySubscribeListRequestValidationError) Field() string
Field function returns field value.
func (QuerySubscribeListRequestValidationError) Key ¶
func (e QuerySubscribeListRequestValidationError) Key() bool
Key function returns key value.
func (QuerySubscribeListRequestValidationError) Reason ¶
func (e QuerySubscribeListRequestValidationError) Reason() string
Reason function returns reason value.
type QueryUserSubscribeNodeListReply ¶
type QueryUserSubscribeNodeListReply struct {
List []*UserSubscribeInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*QueryUserSubscribeNodeListReply) Descriptor
deprecated
func (*QueryUserSubscribeNodeListReply) Descriptor() ([]byte, []int)
Deprecated: Use QueryUserSubscribeNodeListReply.ProtoReflect.Descriptor instead.
func (*QueryUserSubscribeNodeListReply) GetList ¶
func (x *QueryUserSubscribeNodeListReply) GetList() []*UserSubscribeInfo
func (*QueryUserSubscribeNodeListReply) ProtoMessage ¶
func (*QueryUserSubscribeNodeListReply) ProtoMessage()
func (*QueryUserSubscribeNodeListReply) ProtoReflect ¶
func (x *QueryUserSubscribeNodeListReply) ProtoReflect() protoreflect.Message
func (*QueryUserSubscribeNodeListReply) Reset ¶
func (x *QueryUserSubscribeNodeListReply) Reset()
func (*QueryUserSubscribeNodeListReply) String ¶
func (x *QueryUserSubscribeNodeListReply) String() string
func (*QueryUserSubscribeNodeListReply) Validate ¶
func (m *QueryUserSubscribeNodeListReply) Validate() error
Validate checks the field values on QueryUserSubscribeNodeListReply 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 (*QueryUserSubscribeNodeListReply) ValidateAll ¶
func (m *QueryUserSubscribeNodeListReply) ValidateAll() error
ValidateAll checks the field values on QueryUserSubscribeNodeListReply 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 QueryUserSubscribeNodeListReplyMultiError, or nil if none found.
type QueryUserSubscribeNodeListReplyMultiError ¶
type QueryUserSubscribeNodeListReplyMultiError []error
QueryUserSubscribeNodeListReplyMultiError is an error wrapping multiple validation errors returned by QueryUserSubscribeNodeListReply.ValidateAll() if the designated constraints aren't met.
func (QueryUserSubscribeNodeListReplyMultiError) AllErrors ¶
func (m QueryUserSubscribeNodeListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryUserSubscribeNodeListReplyMultiError) Error ¶
func (m QueryUserSubscribeNodeListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryUserSubscribeNodeListReplyValidationError ¶
type QueryUserSubscribeNodeListReplyValidationError struct {
// contains filtered or unexported fields
}
QueryUserSubscribeNodeListReplyValidationError is the validation error returned by QueryUserSubscribeNodeListReply.Validate if the designated constraints aren't met.
func (QueryUserSubscribeNodeListReplyValidationError) Cause ¶
func (e QueryUserSubscribeNodeListReplyValidationError) Cause() error
Cause function returns cause value.
func (QueryUserSubscribeNodeListReplyValidationError) Error ¶
func (e QueryUserSubscribeNodeListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (QueryUserSubscribeNodeListReplyValidationError) ErrorName ¶
func (e QueryUserSubscribeNodeListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (QueryUserSubscribeNodeListReplyValidationError) Field ¶
func (e QueryUserSubscribeNodeListReplyValidationError) Field() string
Field function returns field value.
func (QueryUserSubscribeNodeListReplyValidationError) Key ¶
func (e QueryUserSubscribeNodeListReplyValidationError) Key() bool
Key function returns key value.
func (QueryUserSubscribeNodeListReplyValidationError) Reason ¶
func (e QueryUserSubscribeNodeListReplyValidationError) Reason() string
Reason function returns reason value.
type QueryUserSubscribeNodeListRequest ¶
type QueryUserSubscribeNodeListRequest struct {
// contains filtered or unexported fields
}
func (*QueryUserSubscribeNodeListRequest) Descriptor
deprecated
func (*QueryUserSubscribeNodeListRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryUserSubscribeNodeListRequest.ProtoReflect.Descriptor instead.
func (*QueryUserSubscribeNodeListRequest) ProtoMessage ¶
func (*QueryUserSubscribeNodeListRequest) ProtoMessage()
func (*QueryUserSubscribeNodeListRequest) ProtoReflect ¶
func (x *QueryUserSubscribeNodeListRequest) ProtoReflect() protoreflect.Message
func (*QueryUserSubscribeNodeListRequest) Reset ¶
func (x *QueryUserSubscribeNodeListRequest) Reset()
func (*QueryUserSubscribeNodeListRequest) String ¶
func (x *QueryUserSubscribeNodeListRequest) String() string
func (*QueryUserSubscribeNodeListRequest) Validate ¶
func (m *QueryUserSubscribeNodeListRequest) Validate() error
Validate checks the field values on QueryUserSubscribeNodeListRequest 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 (*QueryUserSubscribeNodeListRequest) ValidateAll ¶
func (m *QueryUserSubscribeNodeListRequest) ValidateAll() error
ValidateAll checks the field values on QueryUserSubscribeNodeListRequest 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 QueryUserSubscribeNodeListRequestMultiError, or nil if none found.
type QueryUserSubscribeNodeListRequestMultiError ¶
type QueryUserSubscribeNodeListRequestMultiError []error
QueryUserSubscribeNodeListRequestMultiError is an error wrapping multiple validation errors returned by QueryUserSubscribeNodeListRequest.ValidateAll() if the designated constraints aren't met.
func (QueryUserSubscribeNodeListRequestMultiError) AllErrors ¶
func (m QueryUserSubscribeNodeListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryUserSubscribeNodeListRequestMultiError) Error ¶
func (m QueryUserSubscribeNodeListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryUserSubscribeNodeListRequestValidationError ¶
type QueryUserSubscribeNodeListRequestValidationError struct {
// contains filtered or unexported fields
}
QueryUserSubscribeNodeListRequestValidationError is the validation error returned by QueryUserSubscribeNodeListRequest.Validate if the designated constraints aren't met.
func (QueryUserSubscribeNodeListRequestValidationError) Cause ¶
func (e QueryUserSubscribeNodeListRequestValidationError) Cause() error
Cause function returns cause value.
func (QueryUserSubscribeNodeListRequestValidationError) Error ¶
func (e QueryUserSubscribeNodeListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QueryUserSubscribeNodeListRequestValidationError) ErrorName ¶
func (e QueryUserSubscribeNodeListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QueryUserSubscribeNodeListRequestValidationError) Field ¶
func (e QueryUserSubscribeNodeListRequestValidationError) Field() string
Field function returns field value.
func (QueryUserSubscribeNodeListRequestValidationError) Key ¶
func (e QueryUserSubscribeNodeListRequestValidationError) Key() bool
Key function returns key value.
func (QueryUserSubscribeNodeListRequestValidationError) Reason ¶
func (e QueryUserSubscribeNodeListRequestValidationError) Reason() string
Reason function returns reason value.
type Subscribe ¶
type Subscribe 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"`
Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
UnitPrice int64 `protobuf:"varint,5,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"`
UnitTime string `protobuf:"bytes,6,opt,name=unit_time,json=unitTime,proto3" json:"unit_time,omitempty"`
Discount []*SubscribeDiscount `protobuf:"bytes,7,rep,name=discount,proto3" json:"discount,omitempty"`
Replacement int64 `protobuf:"varint,8,opt,name=replacement,proto3" json:"replacement,omitempty"`
Inventory int32 `protobuf:"varint,9,opt,name=inventory,proto3" json:"inventory,omitempty"`
Traffic int64 `protobuf:"varint,10,opt,name=traffic,proto3" json:"traffic,omitempty"`
SpeedLimit int32 `protobuf:"varint,11,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`
DeviceLimit int32 `protobuf:"varint,12,opt,name=device_limit,json=deviceLimit,proto3" json:"device_limit,omitempty"`
Quota int32 `protobuf:"varint,13,opt,name=quota,proto3" json:"quota,omitempty"`
CategoryId int64 `protobuf:"varint,29,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
CategoryName string `protobuf:"bytes,30,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
Nodes []int64 `protobuf:"varint,14,rep,packed,name=nodes,proto3" json:"nodes,omitempty"`
NodeTags []string `protobuf:"bytes,15,rep,name=node_tags,json=nodeTags,proto3" json:"node_tags,omitempty"`
NodeGroupIds []int64 `protobuf:"varint,16,rep,packed,name=node_group_ids,json=nodeGroupIds,proto3" json:"node_group_ids,omitempty"`
NodeGroupId int64 `protobuf:"varint,17,opt,name=node_group_id,json=nodeGroupId,proto3" json:"node_group_id,omitempty"`
TrafficLimit []*TrafficLimit `protobuf:"bytes,18,rep,name=traffic_limit,json=trafficLimit,proto3" json:"traffic_limit,omitempty"`
Show bool `protobuf:"varint,19,opt,name=show,proto3" json:"show,omitempty"`
Sell bool `protobuf:"varint,20,opt,name=sell,proto3" json:"sell,omitempty"`
Sort int32 `protobuf:"varint,21,opt,name=sort,proto3" json:"sort,omitempty"`
DeductionRatio int32 `protobuf:"varint,22,opt,name=deduction_ratio,json=deductionRatio,proto3" json:"deduction_ratio,omitempty"`
AllowDeduction bool `protobuf:"varint,23,opt,name=allow_deduction,json=allowDeduction,proto3" json:"allow_deduction,omitempty"`
ResetCycle int32 `protobuf:"varint,24,opt,name=reset_cycle,json=resetCycle,proto3" json:"reset_cycle,omitempty"`
RenewalReset bool `protobuf:"varint,25,opt,name=renewal_reset,json=renewalReset,proto3" json:"renewal_reset,omitempty"`
ShowOriginalPrice bool `protobuf:"varint,26,opt,name=show_original_price,json=showOriginalPrice,proto3" json:"show_original_price,omitempty"`
CreatedAt int64 `protobuf:"varint,27,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,28,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
PriceOptions []*SubscribePriceOption `protobuf:"bytes,31,rep,name=price_options,json=priceOptions,proto3" json:"price_options,omitempty"`
ShortDescription string `protobuf:"bytes,40,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
Features string `protobuf:"bytes,41,opt,name=features,proto3" json:"features,omitempty"`
DetailFormat string `protobuf:"bytes,42,opt,name=detail_format,json=detailFormat,proto3" json:"detail_format,omitempty"`
DetailContent string `protobuf:"bytes,43,opt,name=detail_content,json=detailContent,proto3" json:"detail_content,omitempty"`
// contains filtered or unexported fields
}
func (*Subscribe) Descriptor
deprecated
func (*Subscribe) GetAllowDeduction ¶
func (*Subscribe) GetCategoryId ¶ added in v1.0.9
func (*Subscribe) GetCategoryName ¶ added in v1.0.9
func (*Subscribe) GetCreatedAt ¶
func (*Subscribe) GetDeductionRatio ¶
func (*Subscribe) GetDescription ¶
func (*Subscribe) GetDetailContent ¶ added in v1.0.11
func (*Subscribe) GetDetailFormat ¶ added in v1.0.11
func (*Subscribe) GetDeviceLimit ¶
func (*Subscribe) GetDiscount ¶
func (x *Subscribe) GetDiscount() []*SubscribeDiscount
func (*Subscribe) GetFeatures ¶ added in v1.0.11
func (*Subscribe) GetInventory ¶
func (*Subscribe) GetLanguage ¶
func (*Subscribe) GetNodeGroupId ¶
func (*Subscribe) GetNodeGroupIds ¶
func (*Subscribe) GetNodeTags ¶
func (*Subscribe) GetPriceOptions ¶ added in v1.0.10
func (x *Subscribe) GetPriceOptions() []*SubscribePriceOption
func (*Subscribe) GetRenewalReset ¶
func (*Subscribe) GetReplacement ¶
func (*Subscribe) GetResetCycle ¶
func (*Subscribe) GetShortDescription ¶ added in v1.0.11
func (*Subscribe) GetShowOriginalPrice ¶
func (*Subscribe) GetSpeedLimit ¶
func (*Subscribe) GetTraffic ¶
func (*Subscribe) GetTrafficLimit ¶
func (x *Subscribe) GetTrafficLimit() []*TrafficLimit
func (*Subscribe) GetUnitPrice ¶
func (*Subscribe) GetUnitTime ¶
func (*Subscribe) GetUpdatedAt ¶
func (*Subscribe) ProtoMessage ¶
func (*Subscribe) ProtoMessage()
func (*Subscribe) ProtoReflect ¶
func (x *Subscribe) ProtoReflect() protoreflect.Message
func (*Subscribe) Validate ¶
Validate checks the field values on Subscribe 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 (*Subscribe) ValidateAll ¶
ValidateAll checks the field values on Subscribe 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 SubscribeMultiError, or nil if none found.
type SubscribeCategory ¶ added in v1.0.9
type SubscribeCategory struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
ParentId int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"`
Show bool `protobuf:"varint,6,opt,name=show,proto3" json:"show,omitempty"`
Sort int32 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
List []*Subscribe `protobuf:"bytes,8,rep,name=list,proto3" json:"list,omitempty"`
Children []*SubscribeCategory `protobuf:"bytes,9,rep,name=children,proto3" json:"children,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeCategory) Descriptor
deprecated
added in
v1.0.9
func (*SubscribeCategory) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeCategory.ProtoReflect.Descriptor instead.
func (*SubscribeCategory) GetChildren ¶ added in v1.0.9
func (x *SubscribeCategory) GetChildren() []*SubscribeCategory
func (*SubscribeCategory) GetDescription ¶ added in v1.0.9
func (x *SubscribeCategory) GetDescription() string
func (*SubscribeCategory) GetId ¶ added in v1.0.9
func (x *SubscribeCategory) GetId() int64
func (*SubscribeCategory) GetLanguage ¶ added in v1.0.9
func (x *SubscribeCategory) GetLanguage() string
func (*SubscribeCategory) GetList ¶ added in v1.0.9
func (x *SubscribeCategory) GetList() []*Subscribe
func (*SubscribeCategory) GetName ¶ added in v1.0.9
func (x *SubscribeCategory) GetName() string
func (*SubscribeCategory) GetParentId ¶ added in v1.0.9
func (x *SubscribeCategory) GetParentId() int64
func (*SubscribeCategory) GetShow ¶ added in v1.0.9
func (x *SubscribeCategory) GetShow() bool
func (*SubscribeCategory) GetSort ¶ added in v1.0.9
func (x *SubscribeCategory) GetSort() int32
func (*SubscribeCategory) ProtoMessage ¶ added in v1.0.9
func (*SubscribeCategory) ProtoMessage()
func (*SubscribeCategory) ProtoReflect ¶ added in v1.0.9
func (x *SubscribeCategory) ProtoReflect() protoreflect.Message
func (*SubscribeCategory) Reset ¶ added in v1.0.9
func (x *SubscribeCategory) Reset()
func (*SubscribeCategory) String ¶ added in v1.0.9
func (x *SubscribeCategory) String() string
func (*SubscribeCategory) Validate ¶ added in v1.0.9
func (m *SubscribeCategory) Validate() error
Validate checks the field values on SubscribeCategory 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 (*SubscribeCategory) ValidateAll ¶ added in v1.0.9
func (m *SubscribeCategory) ValidateAll() error
ValidateAll checks the field values on SubscribeCategory 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 SubscribeCategoryMultiError, or nil if none found.
type SubscribeCategoryMultiError ¶ added in v1.0.9
type SubscribeCategoryMultiError []error
SubscribeCategoryMultiError is an error wrapping multiple validation errors returned by SubscribeCategory.ValidateAll() if the designated constraints aren't met.
func (SubscribeCategoryMultiError) AllErrors ¶ added in v1.0.9
func (m SubscribeCategoryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeCategoryMultiError) Error ¶ added in v1.0.9
func (m SubscribeCategoryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeCategoryValidationError ¶ added in v1.0.9
type SubscribeCategoryValidationError struct {
// contains filtered or unexported fields
}
SubscribeCategoryValidationError is the validation error returned by SubscribeCategory.Validate if the designated constraints aren't met.
func (SubscribeCategoryValidationError) Cause ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) Cause() error
Cause function returns cause value.
func (SubscribeCategoryValidationError) Error ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeCategoryValidationError) ErrorName ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeCategoryValidationError) Field ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) Field() string
Field function returns field value.
func (SubscribeCategoryValidationError) Key ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) Key() bool
Key function returns key value.
func (SubscribeCategoryValidationError) Reason ¶ added in v1.0.9
func (e SubscribeCategoryValidationError) Reason() string
Reason function returns reason value.
type SubscribeDiscount ¶
type SubscribeDiscount struct {
Quantity int64 `protobuf:"varint,1,opt,name=quantity,proto3" json:"quantity,omitempty"`
Discount float64 `protobuf:"fixed64,2,opt,name=discount,proto3" json:"discount,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeDiscount) Descriptor
deprecated
func (*SubscribeDiscount) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeDiscount.ProtoReflect.Descriptor instead.
func (*SubscribeDiscount) GetDiscount ¶
func (x *SubscribeDiscount) GetDiscount() float64
func (*SubscribeDiscount) GetQuantity ¶
func (x *SubscribeDiscount) GetQuantity() int64
func (*SubscribeDiscount) ProtoMessage ¶
func (*SubscribeDiscount) ProtoMessage()
func (*SubscribeDiscount) ProtoReflect ¶
func (x *SubscribeDiscount) ProtoReflect() protoreflect.Message
func (*SubscribeDiscount) Reset ¶
func (x *SubscribeDiscount) Reset()
func (*SubscribeDiscount) String ¶
func (x *SubscribeDiscount) String() string
func (*SubscribeDiscount) Validate ¶
func (m *SubscribeDiscount) Validate() error
Validate checks the field values on SubscribeDiscount 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 (*SubscribeDiscount) ValidateAll ¶
func (m *SubscribeDiscount) ValidateAll() error
ValidateAll checks the field values on SubscribeDiscount 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 SubscribeDiscountMultiError, or nil if none found.
type SubscribeDiscountMultiError ¶
type SubscribeDiscountMultiError []error
SubscribeDiscountMultiError is an error wrapping multiple validation errors returned by SubscribeDiscount.ValidateAll() if the designated constraints aren't met.
func (SubscribeDiscountMultiError) AllErrors ¶
func (m SubscribeDiscountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeDiscountMultiError) Error ¶
func (m SubscribeDiscountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeDiscountValidationError ¶
type SubscribeDiscountValidationError struct {
// contains filtered or unexported fields
}
SubscribeDiscountValidationError is the validation error returned by SubscribeDiscount.Validate if the designated constraints aren't met.
func (SubscribeDiscountValidationError) Cause ¶
func (e SubscribeDiscountValidationError) Cause() error
Cause function returns cause value.
func (SubscribeDiscountValidationError) Error ¶
func (e SubscribeDiscountValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeDiscountValidationError) ErrorName ¶
func (e SubscribeDiscountValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeDiscountValidationError) Field ¶
func (e SubscribeDiscountValidationError) Field() string
Field function returns field value.
func (SubscribeDiscountValidationError) Key ¶
func (e SubscribeDiscountValidationError) Key() bool
Key function returns key value.
func (SubscribeDiscountValidationError) Reason ¶
func (e SubscribeDiscountValidationError) Reason() string
Reason function returns reason value.
type SubscribeMultiError ¶
type SubscribeMultiError []error
SubscribeMultiError is an error wrapping multiple validation errors returned by Subscribe.ValidateAll() if the designated constraints aren't met.
func (SubscribeMultiError) AllErrors ¶
func (m SubscribeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeMultiError) Error ¶
func (m SubscribeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribePriceOption ¶ added in v1.0.10
type SubscribePriceOption struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
SubscribeId int64 `protobuf:"varint,2,opt,name=subscribe_id,json=subscribeId,proto3" json:"subscribe_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
DurationUnit string `protobuf:"bytes,4,opt,name=duration_unit,json=durationUnit,proto3" json:"duration_unit,omitempty"`
DurationValue int64 `protobuf:"varint,5,opt,name=duration_value,json=durationValue,proto3" json:"duration_value,omitempty"`
Price int64 `protobuf:"varint,6,opt,name=price,proto3" json:"price,omitempty"`
OriginalPrice int64 `protobuf:"varint,7,opt,name=original_price,json=originalPrice,proto3" json:"original_price,omitempty"`
Inventory int32 `protobuf:"varint,8,opt,name=inventory,proto3" json:"inventory,omitempty"`
Show bool `protobuf:"varint,9,opt,name=show,proto3" json:"show,omitempty"`
Sell bool `protobuf:"varint,10,opt,name=sell,proto3" json:"sell,omitempty"`
IsDefault bool `protobuf:"varint,11,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
Sort int32 `protobuf:"varint,12,opt,name=sort,proto3" json:"sort,omitempty"`
CreatedAt int64 `protobuf:"varint,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
Code string `protobuf:"bytes,15,opt,name=code,proto3" json:"code,omitempty"`
Type string `protobuf:"bytes,16,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribePriceOption) Descriptor
deprecated
added in
v1.0.10
func (*SubscribePriceOption) Descriptor() ([]byte, []int)
Deprecated: Use SubscribePriceOption.ProtoReflect.Descriptor instead.
func (*SubscribePriceOption) GetCode ¶ added in v1.0.11
func (x *SubscribePriceOption) GetCode() string
func (*SubscribePriceOption) GetCreatedAt ¶ added in v1.0.10
func (x *SubscribePriceOption) GetCreatedAt() int64
func (*SubscribePriceOption) GetDurationUnit ¶ added in v1.0.10
func (x *SubscribePriceOption) GetDurationUnit() string
func (*SubscribePriceOption) GetDurationValue ¶ added in v1.0.10
func (x *SubscribePriceOption) GetDurationValue() int64
func (*SubscribePriceOption) GetId ¶ added in v1.0.10
func (x *SubscribePriceOption) GetId() int64
func (*SubscribePriceOption) GetInventory ¶ added in v1.0.10
func (x *SubscribePriceOption) GetInventory() int32
func (*SubscribePriceOption) GetIsDefault ¶ added in v1.0.10
func (x *SubscribePriceOption) GetIsDefault() bool
func (*SubscribePriceOption) GetName ¶ added in v1.0.10
func (x *SubscribePriceOption) GetName() string
func (*SubscribePriceOption) GetOriginalPrice ¶ added in v1.0.10
func (x *SubscribePriceOption) GetOriginalPrice() int64
func (*SubscribePriceOption) GetPrice ¶ added in v1.0.10
func (x *SubscribePriceOption) GetPrice() int64
func (*SubscribePriceOption) GetSell ¶ added in v1.0.10
func (x *SubscribePriceOption) GetSell() bool
func (*SubscribePriceOption) GetShow ¶ added in v1.0.10
func (x *SubscribePriceOption) GetShow() bool
func (*SubscribePriceOption) GetSort ¶ added in v1.0.10
func (x *SubscribePriceOption) GetSort() int32
func (*SubscribePriceOption) GetSubscribeId ¶ added in v1.0.10
func (x *SubscribePriceOption) GetSubscribeId() int64
func (*SubscribePriceOption) GetType ¶ added in v1.0.11
func (x *SubscribePriceOption) GetType() string
func (*SubscribePriceOption) GetUpdatedAt ¶ added in v1.0.10
func (x *SubscribePriceOption) GetUpdatedAt() int64
func (*SubscribePriceOption) ProtoMessage ¶ added in v1.0.10
func (*SubscribePriceOption) ProtoMessage()
func (*SubscribePriceOption) ProtoReflect ¶ added in v1.0.10
func (x *SubscribePriceOption) ProtoReflect() protoreflect.Message
func (*SubscribePriceOption) Reset ¶ added in v1.0.10
func (x *SubscribePriceOption) Reset()
func (*SubscribePriceOption) String ¶ added in v1.0.10
func (x *SubscribePriceOption) String() string
func (*SubscribePriceOption) Validate ¶ added in v1.0.10
func (m *SubscribePriceOption) Validate() error
Validate checks the field values on SubscribePriceOption 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 (*SubscribePriceOption) ValidateAll ¶ added in v1.0.10
func (m *SubscribePriceOption) ValidateAll() error
ValidateAll checks the field values on SubscribePriceOption 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 SubscribePriceOptionMultiError, or nil if none found.
type SubscribePriceOptionMultiError ¶ added in v1.0.10
type SubscribePriceOptionMultiError []error
SubscribePriceOptionMultiError is an error wrapping multiple validation errors returned by SubscribePriceOption.ValidateAll() if the designated constraints aren't met.
func (SubscribePriceOptionMultiError) AllErrors ¶ added in v1.0.10
func (m SubscribePriceOptionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribePriceOptionMultiError) Error ¶ added in v1.0.10
func (m SubscribePriceOptionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribePriceOptionValidationError ¶ added in v1.0.10
type SubscribePriceOptionValidationError struct {
// contains filtered or unexported fields
}
SubscribePriceOptionValidationError is the validation error returned by SubscribePriceOption.Validate if the designated constraints aren't met.
func (SubscribePriceOptionValidationError) Cause ¶ added in v1.0.10
func (e SubscribePriceOptionValidationError) Cause() error
Cause function returns cause value.
func (SubscribePriceOptionValidationError) Error ¶ added in v1.0.10
func (e SubscribePriceOptionValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribePriceOptionValidationError) ErrorName ¶ added in v1.0.10
func (e SubscribePriceOptionValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribePriceOptionValidationError) Field ¶ added in v1.0.10
func (e SubscribePriceOptionValidationError) Field() string
Field function returns field value.
func (SubscribePriceOptionValidationError) Key ¶ added in v1.0.10
func (e SubscribePriceOptionValidationError) Key() bool
Key function returns key value.
func (SubscribePriceOptionValidationError) Reason ¶ added in v1.0.10
func (e SubscribePriceOptionValidationError) Reason() string
Reason function returns reason value.
type SubscribeValidationError ¶
type SubscribeValidationError struct {
// contains filtered or unexported fields
}
SubscribeValidationError is the validation error returned by Subscribe.Validate if the designated constraints aren't met.
func (SubscribeValidationError) Cause ¶
func (e SubscribeValidationError) Cause() error
Cause function returns cause value.
func (SubscribeValidationError) Error ¶
func (e SubscribeValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeValidationError) ErrorName ¶
func (e SubscribeValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeValidationError) Field ¶
func (e SubscribeValidationError) Field() string
Field function returns field value.
func (SubscribeValidationError) Key ¶
func (e SubscribeValidationError) Key() bool
Key function returns key value.
func (SubscribeValidationError) Reason ¶
func (e SubscribeValidationError) Reason() string
Reason function returns reason value.
type TrafficLimit ¶
type TrafficLimit struct {
StatType string `protobuf:"bytes,1,opt,name=stat_type,json=statType,proto3" json:"stat_type,omitempty"`
StatValue int64 `protobuf:"varint,2,opt,name=stat_value,json=statValue,proto3" json:"stat_value,omitempty"`
TrafficUsage int64 `protobuf:"varint,3,opt,name=traffic_usage,json=trafficUsage,proto3" json:"traffic_usage,omitempty"`
SpeedLimit int32 `protobuf:"varint,4,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`
// contains filtered or unexported fields
}
func (*TrafficLimit) Descriptor
deprecated
func (*TrafficLimit) Descriptor() ([]byte, []int)
Deprecated: Use TrafficLimit.ProtoReflect.Descriptor instead.
func (*TrafficLimit) GetSpeedLimit ¶
func (x *TrafficLimit) GetSpeedLimit() int32
func (*TrafficLimit) GetStatType ¶
func (x *TrafficLimit) GetStatType() string
func (*TrafficLimit) GetStatValue ¶
func (x *TrafficLimit) GetStatValue() int64
func (*TrafficLimit) GetTrafficUsage ¶
func (x *TrafficLimit) GetTrafficUsage() int64
func (*TrafficLimit) ProtoMessage ¶
func (*TrafficLimit) ProtoMessage()
func (*TrafficLimit) ProtoReflect ¶
func (x *TrafficLimit) ProtoReflect() protoreflect.Message
func (*TrafficLimit) Reset ¶
func (x *TrafficLimit) Reset()
func (*TrafficLimit) String ¶
func (x *TrafficLimit) String() string
func (*TrafficLimit) Validate ¶
func (m *TrafficLimit) Validate() error
Validate checks the field values on TrafficLimit 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 (*TrafficLimit) ValidateAll ¶
func (m *TrafficLimit) ValidateAll() error
ValidateAll checks the field values on TrafficLimit 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 TrafficLimitMultiError, or nil if none found.
type TrafficLimitMultiError ¶
type TrafficLimitMultiError []error
TrafficLimitMultiError is an error wrapping multiple validation errors returned by TrafficLimit.ValidateAll() if the designated constraints aren't met.
func (TrafficLimitMultiError) AllErrors ¶
func (m TrafficLimitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TrafficLimitMultiError) Error ¶
func (m TrafficLimitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TrafficLimitValidationError ¶
type TrafficLimitValidationError struct {
// contains filtered or unexported fields
}
TrafficLimitValidationError is the validation error returned by TrafficLimit.Validate if the designated constraints aren't met.
func (TrafficLimitValidationError) Cause ¶
func (e TrafficLimitValidationError) Cause() error
Cause function returns cause value.
func (TrafficLimitValidationError) Error ¶
func (e TrafficLimitValidationError) Error() string
Error satisfies the builtin error interface
func (TrafficLimitValidationError) ErrorName ¶
func (e TrafficLimitValidationError) ErrorName() string
ErrorName returns error name.
func (TrafficLimitValidationError) Field ¶
func (e TrafficLimitValidationError) Field() string
Field function returns field value.
func (TrafficLimitValidationError) Key ¶
func (e TrafficLimitValidationError) Key() bool
Key function returns key value.
func (TrafficLimitValidationError) Reason ¶
func (e TrafficLimitValidationError) Reason() string
Reason function returns reason value.
type UnimplementedPublicSubscribeServer ¶
type UnimplementedPublicSubscribeServer struct{}
UnimplementedPublicSubscribeServer 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 (UnimplementedPublicSubscribeServer) QuerySubscribeCatalog ¶ added in v1.0.9
func (UnimplementedPublicSubscribeServer) QuerySubscribeCatalog(context.Context, *QuerySubscribeCatalogRequest) (*QuerySubscribeCatalogReply, error)
func (UnimplementedPublicSubscribeServer) QuerySubscribeList ¶
func (UnimplementedPublicSubscribeServer) QuerySubscribeList(context.Context, *QuerySubscribeListRequest) (*QuerySubscribeListReply, error)
func (UnimplementedPublicSubscribeServer) QueryUserSubscribeNodeList ¶
func (UnimplementedPublicSubscribeServer) QueryUserSubscribeNodeList(context.Context, *QueryUserSubscribeNodeListRequest) (*QueryUserSubscribeNodeListReply, error)
type UnsafePublicSubscribeServer ¶
type UnsafePublicSubscribeServer interface {
// contains filtered or unexported methods
}
UnsafePublicSubscribeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PublicSubscribeServer will result in compilation errors.
type UserSubscribeInfo ¶
type UserSubscribeInfo struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
OrderId int64 `protobuf:"varint,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
SubscribeId int64 `protobuf:"varint,4,opt,name=subscribe_id,json=subscribeId,proto3" json:"subscribe_id,omitempty"`
StartTime int64 `protobuf:"varint,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
ExpireTime int64 `protobuf:"varint,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
FinishedAt int64 `protobuf:"varint,7,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
ResetTime int64 `protobuf:"varint,8,opt,name=reset_time,json=resetTime,proto3" json:"reset_time,omitempty"`
Traffic int64 `protobuf:"varint,9,opt,name=traffic,proto3" json:"traffic,omitempty"`
Download int64 `protobuf:"varint,10,opt,name=download,proto3" json:"download,omitempty"`
Upload int64 `protobuf:"varint,11,opt,name=upload,proto3" json:"upload,omitempty"`
Token string `protobuf:"bytes,12,opt,name=token,proto3" json:"token,omitempty"`
Status uint32 `protobuf:"varint,13,opt,name=status,proto3" json:"status,omitempty"`
CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
IsTryOut bool `protobuf:"varint,16,opt,name=is_try_out,json=isTryOut,proto3" json:"is_try_out,omitempty"`
Nodes []*UserSubscribeNodeInfo `protobuf:"bytes,17,rep,name=nodes,proto3" json:"nodes,omitempty"`
// contains filtered or unexported fields
}
func (*UserSubscribeInfo) Descriptor
deprecated
func (*UserSubscribeInfo) Descriptor() ([]byte, []int)
Deprecated: Use UserSubscribeInfo.ProtoReflect.Descriptor instead.
func (*UserSubscribeInfo) GetCreatedAt ¶
func (x *UserSubscribeInfo) GetCreatedAt() int64
func (*UserSubscribeInfo) GetDownload ¶
func (x *UserSubscribeInfo) GetDownload() int64
func (*UserSubscribeInfo) GetExpireTime ¶
func (x *UserSubscribeInfo) GetExpireTime() int64
func (*UserSubscribeInfo) GetFinishedAt ¶
func (x *UserSubscribeInfo) GetFinishedAt() int64
func (*UserSubscribeInfo) GetId ¶
func (x *UserSubscribeInfo) GetId() int64
func (*UserSubscribeInfo) GetIsTryOut ¶
func (x *UserSubscribeInfo) GetIsTryOut() bool
func (*UserSubscribeInfo) GetNodes ¶
func (x *UserSubscribeInfo) GetNodes() []*UserSubscribeNodeInfo
func (*UserSubscribeInfo) GetOrderId ¶
func (x *UserSubscribeInfo) GetOrderId() int64
func (*UserSubscribeInfo) GetResetTime ¶
func (x *UserSubscribeInfo) GetResetTime() int64
func (*UserSubscribeInfo) GetStartTime ¶
func (x *UserSubscribeInfo) GetStartTime() int64
func (*UserSubscribeInfo) GetStatus ¶
func (x *UserSubscribeInfo) GetStatus() uint32
func (*UserSubscribeInfo) GetSubscribeId ¶
func (x *UserSubscribeInfo) GetSubscribeId() int64
func (*UserSubscribeInfo) GetToken ¶
func (x *UserSubscribeInfo) GetToken() string
func (*UserSubscribeInfo) GetTraffic ¶
func (x *UserSubscribeInfo) GetTraffic() int64
func (*UserSubscribeInfo) GetUpdatedAt ¶
func (x *UserSubscribeInfo) GetUpdatedAt() int64
func (*UserSubscribeInfo) GetUpload ¶
func (x *UserSubscribeInfo) GetUpload() int64
func (*UserSubscribeInfo) GetUserId ¶
func (x *UserSubscribeInfo) GetUserId() int64
func (*UserSubscribeInfo) ProtoMessage ¶
func (*UserSubscribeInfo) ProtoMessage()
func (*UserSubscribeInfo) ProtoReflect ¶
func (x *UserSubscribeInfo) ProtoReflect() protoreflect.Message
func (*UserSubscribeInfo) Reset ¶
func (x *UserSubscribeInfo) Reset()
func (*UserSubscribeInfo) String ¶
func (x *UserSubscribeInfo) String() string
func (*UserSubscribeInfo) Validate ¶
func (m *UserSubscribeInfo) Validate() error
Validate checks the field values on UserSubscribeInfo 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 (*UserSubscribeInfo) ValidateAll ¶
func (m *UserSubscribeInfo) ValidateAll() error
ValidateAll checks the field values on UserSubscribeInfo 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 UserSubscribeInfoMultiError, or nil if none found.
type UserSubscribeInfoMultiError ¶
type UserSubscribeInfoMultiError []error
UserSubscribeInfoMultiError is an error wrapping multiple validation errors returned by UserSubscribeInfo.ValidateAll() if the designated constraints aren't met.
func (UserSubscribeInfoMultiError) AllErrors ¶
func (m UserSubscribeInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserSubscribeInfoMultiError) Error ¶
func (m UserSubscribeInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserSubscribeInfoValidationError ¶
type UserSubscribeInfoValidationError struct {
// contains filtered or unexported fields
}
UserSubscribeInfoValidationError is the validation error returned by UserSubscribeInfo.Validate if the designated constraints aren't met.
func (UserSubscribeInfoValidationError) Cause ¶
func (e UserSubscribeInfoValidationError) Cause() error
Cause function returns cause value.
func (UserSubscribeInfoValidationError) Error ¶
func (e UserSubscribeInfoValidationError) Error() string
Error satisfies the builtin error interface
func (UserSubscribeInfoValidationError) ErrorName ¶
func (e UserSubscribeInfoValidationError) ErrorName() string
ErrorName returns error name.
func (UserSubscribeInfoValidationError) Field ¶
func (e UserSubscribeInfoValidationError) Field() string
Field function returns field value.
func (UserSubscribeInfoValidationError) Key ¶
func (e UserSubscribeInfoValidationError) Key() bool
Key function returns key value.
func (UserSubscribeInfoValidationError) Reason ¶
func (e UserSubscribeInfoValidationError) Reason() string
Reason function returns reason value.
type UserSubscribeNodeInfo ¶
type UserSubscribeNodeInfo 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"`
Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`
Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
Protocols string `protobuf:"bytes,5,opt,name=protocols,proto3" json:"protocols,omitempty"`
Port uint32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"`
Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"`
Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
Country string `protobuf:"bytes,9,opt,name=country,proto3" json:"country,omitempty"`
City string `protobuf:"bytes,10,opt,name=city,proto3" json:"city,omitempty"`
Longitude string `protobuf:"bytes,11,opt,name=longitude,proto3" json:"longitude,omitempty"`
Latitude string `protobuf:"bytes,12,opt,name=latitude,proto3" json:"latitude,omitempty"`
LatitudeCenter string `protobuf:"bytes,13,opt,name=latitude_center,json=latitudeCenter,proto3" json:"latitude_center,omitempty"`
LongitudeCenter string `protobuf:"bytes,14,opt,name=longitude_center,json=longitudeCenter,proto3" json:"longitude_center,omitempty"`
CreatedAt int64 `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
Sni string `protobuf:"bytes,16,opt,name=sni,proto3" json:"sni,omitempty"`
// OmniFlow 基础配置
OmniflowCarrier string `protobuf:"bytes,73,opt,name=omniflow_carrier,json=omniflowCarrier,proto3" json:"omniflow_carrier,omitempty"`
OmniflowPath string `protobuf:"bytes,74,opt,name=omniflow_path,json=omniflowPath,proto3" json:"omniflow_path,omitempty"`
OmniflowContentType string `protobuf:"bytes,75,opt,name=omniflow_content_type,json=omniflowContentType,proto3" json:"omniflow_content_type,omitempty"`
OmniflowProfileJson string `protobuf:"bytes,77,opt,name=omniflow_profile_json,json=omniflowProfileJson,proto3" json:"omniflow_profile_json,omitempty"`
OmniflowCaCertPath string `protobuf:"bytes,80,opt,name=omniflow_ca_cert_path,json=omniflowCaCertPath,proto3" json:"omniflow_ca_cert_path,omitempty"`
OmniflowTargetMeta string `protobuf:"bytes,81,opt,name=omniflow_target_meta,json=omniflowTargetMeta,proto3" json:"omniflow_target_meta,omitempty"`
OmniflowSpkiPin string `protobuf:"bytes,82,opt,name=omniflow_spki_pin,json=omniflowSpkiPin,proto3" json:"omniflow_spki_pin,omitempty"`
// OmniFlow 抗指纹
OmniflowAdaptiveTlsEnabled bool `` /* 145-byte string literal not displayed */
OmniflowTlsFingerprint string `` /* 130-byte string literal not displayed */
OmniflowSniMode string `protobuf:"bytes,95,opt,name=omniflow_sni_mode,json=omniflowSniMode,proto3" json:"omniflow_sni_mode,omitempty"`
OmniflowPaddingMode string `protobuf:"bytes,96,opt,name=omniflow_padding_mode,json=omniflowPaddingMode,proto3" json:"omniflow_padding_mode,omitempty"`
// OmniFlow 随机 AF path
OmniflowAfEnabled bool `protobuf:"varint,101,opt,name=omniflow_af_enabled,json=omniflowAfEnabled,proto3" json:"omniflow_af_enabled,omitempty"`
OmniflowAfPathMode string `protobuf:"bytes,102,opt,name=omniflow_af_path_mode,json=omniflowAfPathMode,proto3" json:"omniflow_af_path_mode,omitempty"`
OmniflowAfPathPrefix string `` /* 127-byte string literal not displayed */
OmniflowAfPathSuffix string `` /* 127-byte string literal not displayed */
OmniflowAfPathRotationSecs int32 `` /* 148-byte string literal not displayed */
OmniflowAfPathSkewSlots int32 `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UserSubscribeNodeInfo) Descriptor
deprecated
func (*UserSubscribeNodeInfo) Descriptor() ([]byte, []int)
Deprecated: Use UserSubscribeNodeInfo.ProtoReflect.Descriptor instead.
func (*UserSubscribeNodeInfo) GetAddress ¶
func (x *UserSubscribeNodeInfo) GetAddress() string
func (*UserSubscribeNodeInfo) GetCity ¶
func (x *UserSubscribeNodeInfo) GetCity() string
func (*UserSubscribeNodeInfo) GetCountry ¶
func (x *UserSubscribeNodeInfo) GetCountry() string
func (*UserSubscribeNodeInfo) GetCreatedAt ¶
func (x *UserSubscribeNodeInfo) GetCreatedAt() int64
func (*UserSubscribeNodeInfo) GetId ¶
func (x *UserSubscribeNodeInfo) GetId() int64
func (*UserSubscribeNodeInfo) GetLatitude ¶
func (x *UserSubscribeNodeInfo) GetLatitude() string
func (*UserSubscribeNodeInfo) GetLatitudeCenter ¶
func (x *UserSubscribeNodeInfo) GetLatitudeCenter() string
func (*UserSubscribeNodeInfo) GetLongitude ¶
func (x *UserSubscribeNodeInfo) GetLongitude() string
func (*UserSubscribeNodeInfo) GetLongitudeCenter ¶
func (x *UserSubscribeNodeInfo) GetLongitudeCenter() string
func (*UserSubscribeNodeInfo) GetName ¶
func (x *UserSubscribeNodeInfo) GetName() string
func (*UserSubscribeNodeInfo) GetOmniflowAdaptiveTlsEnabled ¶
func (x *UserSubscribeNodeInfo) GetOmniflowAdaptiveTlsEnabled() bool
func (*UserSubscribeNodeInfo) GetOmniflowAfEnabled ¶
func (x *UserSubscribeNodeInfo) GetOmniflowAfEnabled() bool
func (*UserSubscribeNodeInfo) GetOmniflowAfPathMode ¶
func (x *UserSubscribeNodeInfo) GetOmniflowAfPathMode() string
func (*UserSubscribeNodeInfo) GetOmniflowAfPathPrefix ¶
func (x *UserSubscribeNodeInfo) GetOmniflowAfPathPrefix() string
func (*UserSubscribeNodeInfo) GetOmniflowAfPathRotationSecs ¶
func (x *UserSubscribeNodeInfo) GetOmniflowAfPathRotationSecs() int32
func (*UserSubscribeNodeInfo) GetOmniflowAfPathSkewSlots ¶
func (x *UserSubscribeNodeInfo) GetOmniflowAfPathSkewSlots() int32
func (*UserSubscribeNodeInfo) GetOmniflowAfPathSuffix ¶
func (x *UserSubscribeNodeInfo) GetOmniflowAfPathSuffix() string
func (*UserSubscribeNodeInfo) GetOmniflowCaCertPath ¶
func (x *UserSubscribeNodeInfo) GetOmniflowCaCertPath() string
func (*UserSubscribeNodeInfo) GetOmniflowCarrier ¶
func (x *UserSubscribeNodeInfo) GetOmniflowCarrier() string
func (*UserSubscribeNodeInfo) GetOmniflowContentType ¶
func (x *UserSubscribeNodeInfo) GetOmniflowContentType() string
func (*UserSubscribeNodeInfo) GetOmniflowPaddingMode ¶
func (x *UserSubscribeNodeInfo) GetOmniflowPaddingMode() string
func (*UserSubscribeNodeInfo) GetOmniflowPath ¶
func (x *UserSubscribeNodeInfo) GetOmniflowPath() string
func (*UserSubscribeNodeInfo) GetOmniflowProfileJson ¶
func (x *UserSubscribeNodeInfo) GetOmniflowProfileJson() string
func (*UserSubscribeNodeInfo) GetOmniflowSniMode ¶
func (x *UserSubscribeNodeInfo) GetOmniflowSniMode() string
func (*UserSubscribeNodeInfo) GetOmniflowSpkiPin ¶
func (x *UserSubscribeNodeInfo) GetOmniflowSpkiPin() string
func (*UserSubscribeNodeInfo) GetOmniflowTargetMeta ¶
func (x *UserSubscribeNodeInfo) GetOmniflowTargetMeta() string
func (*UserSubscribeNodeInfo) GetOmniflowTlsFingerprint ¶
func (x *UserSubscribeNodeInfo) GetOmniflowTlsFingerprint() string
func (*UserSubscribeNodeInfo) GetPort ¶
func (x *UserSubscribeNodeInfo) GetPort() uint32
func (*UserSubscribeNodeInfo) GetProtocol ¶
func (x *UserSubscribeNodeInfo) GetProtocol() string
func (*UserSubscribeNodeInfo) GetProtocols ¶
func (x *UserSubscribeNodeInfo) GetProtocols() string
func (*UserSubscribeNodeInfo) GetSni ¶
func (x *UserSubscribeNodeInfo) GetSni() string
func (*UserSubscribeNodeInfo) GetTags ¶
func (x *UserSubscribeNodeInfo) GetTags() []string
func (*UserSubscribeNodeInfo) GetUuid ¶
func (x *UserSubscribeNodeInfo) GetUuid() string
func (*UserSubscribeNodeInfo) ProtoMessage ¶
func (*UserSubscribeNodeInfo) ProtoMessage()
func (*UserSubscribeNodeInfo) ProtoReflect ¶
func (x *UserSubscribeNodeInfo) ProtoReflect() protoreflect.Message
func (*UserSubscribeNodeInfo) Reset ¶
func (x *UserSubscribeNodeInfo) Reset()
func (*UserSubscribeNodeInfo) String ¶
func (x *UserSubscribeNodeInfo) String() string
func (*UserSubscribeNodeInfo) Validate ¶
func (m *UserSubscribeNodeInfo) Validate() error
Validate checks the field values on UserSubscribeNodeInfo 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 (*UserSubscribeNodeInfo) ValidateAll ¶
func (m *UserSubscribeNodeInfo) ValidateAll() error
ValidateAll checks the field values on UserSubscribeNodeInfo 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 UserSubscribeNodeInfoMultiError, or nil if none found.
type UserSubscribeNodeInfoMultiError ¶
type UserSubscribeNodeInfoMultiError []error
UserSubscribeNodeInfoMultiError is an error wrapping multiple validation errors returned by UserSubscribeNodeInfo.ValidateAll() if the designated constraints aren't met.
func (UserSubscribeNodeInfoMultiError) AllErrors ¶
func (m UserSubscribeNodeInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserSubscribeNodeInfoMultiError) Error ¶
func (m UserSubscribeNodeInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserSubscribeNodeInfoValidationError ¶
type UserSubscribeNodeInfoValidationError struct {
// contains filtered or unexported fields
}
UserSubscribeNodeInfoValidationError is the validation error returned by UserSubscribeNodeInfo.Validate if the designated constraints aren't met.
func (UserSubscribeNodeInfoValidationError) Cause ¶
func (e UserSubscribeNodeInfoValidationError) Cause() error
Cause function returns cause value.
func (UserSubscribeNodeInfoValidationError) Error ¶
func (e UserSubscribeNodeInfoValidationError) Error() string
Error satisfies the builtin error interface
func (UserSubscribeNodeInfoValidationError) ErrorName ¶
func (e UserSubscribeNodeInfoValidationError) ErrorName() string
ErrorName returns error name.
func (UserSubscribeNodeInfoValidationError) Field ¶
func (e UserSubscribeNodeInfoValidationError) Field() string
Field function returns field value.
func (UserSubscribeNodeInfoValidationError) Key ¶
func (e UserSubscribeNodeInfoValidationError) Key() bool
Key function returns key value.
func (UserSubscribeNodeInfoValidationError) Reason ¶
func (e UserSubscribeNodeInfoValidationError) Reason() string
Reason function returns reason value.