v1

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const OperationPublicSubscribeQuerySubscribeCatalog = "/api.public.subscribe.v1.PublicSubscribe/QuerySubscribeCatalog"
View Source
const OperationPublicSubscribeQuerySubscribeList = "/api.public.subscribe.v1.PublicSubscribe/QuerySubscribeList"
View Source
const OperationPublicSubscribeQueryUserSubscribeNodeList = "/api.public.subscribe.v1.PublicSubscribe/QueryUserSubscribeNodeList"

Variables

View Source
var File_public_subscribe_v1_subscribe_proto protoreflect.FileDescriptor
View Source
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.

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 (*PublicSubscribeHTTPClientImpl) QuerySubscribeList

func (*PublicSubscribeHTTPClientImpl) QueryUserSubscribeNodeList

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 (*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

AllErrors returns a list of validation violation errors.

func (QuerySubscribeCatalogReplyMultiError) Error added in v1.0.9

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

Cause function returns cause value.

func (QuerySubscribeCatalogReplyValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (QuerySubscribeCatalogReplyValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (QuerySubscribeCatalogReplyValidationError) Field added in v1.0.9

Field function returns field value.

func (QuerySubscribeCatalogReplyValidationError) Key added in v1.0.9

Key function returns key value.

func (QuerySubscribeCatalogReplyValidationError) Reason added in v1.0.9

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 (*QuerySubscribeCatalogRequest) Reset added in v1.0.9

func (x *QuerySubscribeCatalogRequest) Reset()

func (*QuerySubscribeCatalogRequest) String added in v1.0.9

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

AllErrors returns a list of validation violation errors.

func (QuerySubscribeCatalogRequestMultiError) Error added in v1.0.9

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

Cause function returns cause value.

func (QuerySubscribeCatalogRequestValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (QuerySubscribeCatalogRequestValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (QuerySubscribeCatalogRequestValidationError) Field added in v1.0.9

Field function returns field value.

func (QuerySubscribeCatalogRequestValidationError) Key added in v1.0.9

Key function returns key value.

func (QuerySubscribeCatalogRequestValidationError) Reason added in v1.0.9

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

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

Cause function returns cause value.

func (QuerySubscribeListReplyValidationError) Error

Error satisfies the builtin error interface

func (QuerySubscribeListReplyValidationError) ErrorName

ErrorName returns error name.

func (QuerySubscribeListReplyValidationError) Field

Field function returns field value.

func (QuerySubscribeListReplyValidationError) Key

Key function returns key value.

func (QuerySubscribeListReplyValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (QuerySubscribeListRequestMultiError) Error

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

Cause function returns cause value.

func (QuerySubscribeListRequestValidationError) Error

Error satisfies the builtin error interface

func (QuerySubscribeListRequestValidationError) ErrorName

ErrorName returns error name.

func (QuerySubscribeListRequestValidationError) Field

Field function returns field value.

func (QuerySubscribeListRequestValidationError) Key

Key function returns key value.

func (QuerySubscribeListRequestValidationError) Reason

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 (*QueryUserSubscribeNodeListReply) ProtoMessage

func (*QueryUserSubscribeNodeListReply) ProtoMessage()

func (*QueryUserSubscribeNodeListReply) ProtoReflect

func (*QueryUserSubscribeNodeListReply) Reset

func (*QueryUserSubscribeNodeListReply) 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

AllErrors returns a list of validation violation errors.

func (QueryUserSubscribeNodeListReplyMultiError) Error

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

Cause function returns cause value.

func (QueryUserSubscribeNodeListReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryUserSubscribeNodeListReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryUserSubscribeNodeListReplyValidationError) Field

Field function returns field value.

func (QueryUserSubscribeNodeListReplyValidationError) Key

Key function returns key value.

func (QueryUserSubscribeNodeListReplyValidationError) Reason

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 (*QueryUserSubscribeNodeListRequest) Reset

func (*QueryUserSubscribeNodeListRequest) String

func (*QueryUserSubscribeNodeListRequest) Validate

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

AllErrors returns a list of validation violation errors.

func (QueryUserSubscribeNodeListRequestMultiError) Error

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

Cause function returns cause value.

func (QueryUserSubscribeNodeListRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryUserSubscribeNodeListRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryUserSubscribeNodeListRequestValidationError) Field

Field function returns field value.

func (QueryUserSubscribeNodeListRequestValidationError) Key

Key function returns key value.

func (QueryUserSubscribeNodeListRequestValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Subscribe.ProtoReflect.Descriptor instead.

func (*Subscribe) GetAllowDeduction

func (x *Subscribe) GetAllowDeduction() bool

func (*Subscribe) GetCategoryId added in v1.0.9

func (x *Subscribe) GetCategoryId() int64

func (*Subscribe) GetCategoryName added in v1.0.9

func (x *Subscribe) GetCategoryName() string

func (*Subscribe) GetCreatedAt

func (x *Subscribe) GetCreatedAt() int64

func (*Subscribe) GetDeductionRatio

func (x *Subscribe) GetDeductionRatio() int32

func (*Subscribe) GetDescription

func (x *Subscribe) GetDescription() string

func (*Subscribe) GetDetailContent added in v1.0.11

func (x *Subscribe) GetDetailContent() string

func (*Subscribe) GetDetailFormat added in v1.0.11

func (x *Subscribe) GetDetailFormat() string

func (*Subscribe) GetDeviceLimit

func (x *Subscribe) GetDeviceLimit() int32

func (*Subscribe) GetDiscount

func (x *Subscribe) GetDiscount() []*SubscribeDiscount

func (*Subscribe) GetFeatures added in v1.0.11

func (x *Subscribe) GetFeatures() string

func (*Subscribe) GetId

func (x *Subscribe) GetId() int64

func (*Subscribe) GetInventory

func (x *Subscribe) GetInventory() int32

func (*Subscribe) GetLanguage

func (x *Subscribe) GetLanguage() string

func (*Subscribe) GetName

func (x *Subscribe) GetName() string

func (*Subscribe) GetNodeGroupId

func (x *Subscribe) GetNodeGroupId() int64

func (*Subscribe) GetNodeGroupIds

func (x *Subscribe) GetNodeGroupIds() []int64

func (*Subscribe) GetNodeTags

func (x *Subscribe) GetNodeTags() []string

func (*Subscribe) GetNodes

func (x *Subscribe) GetNodes() []int64

func (*Subscribe) GetPriceOptions added in v1.0.10

func (x *Subscribe) GetPriceOptions() []*SubscribePriceOption

func (*Subscribe) GetQuota

func (x *Subscribe) GetQuota() int32

func (*Subscribe) GetRenewalReset

func (x *Subscribe) GetRenewalReset() bool

func (*Subscribe) GetReplacement

func (x *Subscribe) GetReplacement() int64

func (*Subscribe) GetResetCycle

func (x *Subscribe) GetResetCycle() int32

func (*Subscribe) GetSell

func (x *Subscribe) GetSell() bool

func (*Subscribe) GetShortDescription added in v1.0.11

func (x *Subscribe) GetShortDescription() string

func (*Subscribe) GetShow

func (x *Subscribe) GetShow() bool

func (*Subscribe) GetShowOriginalPrice

func (x *Subscribe) GetShowOriginalPrice() bool

func (*Subscribe) GetSort

func (x *Subscribe) GetSort() int32

func (*Subscribe) GetSpeedLimit

func (x *Subscribe) GetSpeedLimit() int32

func (*Subscribe) GetTraffic

func (x *Subscribe) GetTraffic() int64

func (*Subscribe) GetTrafficLimit

func (x *Subscribe) GetTrafficLimit() []*TrafficLimit

func (*Subscribe) GetUnitPrice

func (x *Subscribe) GetUnitPrice() int64

func (*Subscribe) GetUnitTime

func (x *Subscribe) GetUnitTime() string

func (*Subscribe) GetUpdatedAt

func (x *Subscribe) GetUpdatedAt() int64

func (*Subscribe) ProtoMessage

func (*Subscribe) ProtoMessage()

func (*Subscribe) ProtoReflect

func (x *Subscribe) ProtoReflect() protoreflect.Message

func (*Subscribe) Reset

func (x *Subscribe) Reset()

func (*Subscribe) String

func (x *Subscribe) String() string

func (*Subscribe) Validate

func (m *Subscribe) Validate() error

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

func (m *Subscribe) ValidateAll() error

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

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

Cause function returns cause value.

func (SubscribeCategoryValidationError) Error added in v1.0.9

Error satisfies the builtin error interface

func (SubscribeCategoryValidationError) ErrorName added in v1.0.9

ErrorName returns error name.

func (SubscribeCategoryValidationError) Field added in v1.0.9

Field function returns field value.

func (SubscribeCategoryValidationError) Key added in v1.0.9

Key function returns key value.

func (SubscribeCategoryValidationError) Reason added in v1.0.9

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

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

Cause function returns cause value.

func (SubscribeDiscountValidationError) Error

Error satisfies the builtin error interface

func (SubscribeDiscountValidationError) ErrorName

ErrorName returns error name.

func (SubscribeDiscountValidationError) Field

Field function returns field value.

func (SubscribeDiscountValidationError) Key

Key function returns key value.

func (SubscribeDiscountValidationError) Reason

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

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

Cause function returns cause value.

func (SubscribePriceOptionValidationError) Error added in v1.0.10

Error satisfies the builtin error interface

func (SubscribePriceOptionValidationError) ErrorName added in v1.0.10

ErrorName returns error name.

func (SubscribePriceOptionValidationError) Field added in v1.0.10

Field function returns field value.

func (SubscribePriceOptionValidationError) Key added in v1.0.10

Key function returns key value.

func (SubscribePriceOptionValidationError) Reason added in v1.0.10

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

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

Cause function returns cause value.

func (TrafficLimitValidationError) Error

Error satisfies the builtin error interface

func (TrafficLimitValidationError) ErrorName

func (e TrafficLimitValidationError) ErrorName() string

ErrorName returns error name.

func (TrafficLimitValidationError) Field

Field function returns field value.

func (TrafficLimitValidationError) Key

Key function returns key value.

func (TrafficLimitValidationError) Reason

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) QuerySubscribeList

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

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

Cause function returns cause value.

func (UserSubscribeInfoValidationError) Error

Error satisfies the builtin error interface

func (UserSubscribeInfoValidationError) ErrorName

ErrorName returns error name.

func (UserSubscribeInfoValidationError) Field

Field function returns field value.

func (UserSubscribeInfoValidationError) Key

Key function returns key value.

func (UserSubscribeInfoValidationError) Reason

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

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

Cause function returns cause value.

func (UserSubscribeNodeInfoValidationError) Error

Error satisfies the builtin error interface

func (UserSubscribeNodeInfoValidationError) ErrorName

ErrorName returns error name.

func (UserSubscribeNodeInfoValidationError) Field

Field function returns field value.

func (UserSubscribeNodeInfoValidationError) Key

Key function returns key value.

func (UserSubscribeNodeInfoValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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