Documentation ¶
Overview ¶
Package protobuf is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package protobuf is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package protobuf is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package protobuf is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterBaseServiceServer(s grpc.ServiceRegistrar, srv BaseServiceServer)
- func RegisterCollectorServiceServer(s grpc.ServiceRegistrar, srv CollectorServiceServer)
- func RegisterCurrencyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCurrencyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CurrencyServiceClient) error
- func RegisterCurrencyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCurrencyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CurrencyServiceServer) error
- func RegisterCurrencyServiceServer(s grpc.ServiceRegistrar, srv CurrencyServiceServer)
- func RegisterHealthServer(s grpc.ServiceRegistrar, srv HealthServer)
- func RegisterHelloWorldServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterHelloWorldServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HelloWorldServiceClient) error
- func RegisterHelloWorldServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterHelloWorldServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HelloWorldServiceServer) error
- func RegisterHelloWorldServiceServer(s grpc.ServiceRegistrar, srv HelloWorldServiceServer)
- func RegisterOrderServiceServer(s grpc.ServiceRegistrar, srv OrderServiceServer)
- func RegisterPingPongServiceServer(s grpc.ServiceRegistrar, srv PingPongServiceServer)
- func RegisterTradingTokenServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTradingTokenServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TradingTokenServiceClient) error
- func RegisterTradingTokenServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTradingTokenServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TradingTokenServiceServer) error
- func RegisterTradingTokenServiceServer(s grpc.ServiceRegistrar, srv TradingTokenServiceServer)
- func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
- func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type APICurrencyDetailReply
- func (*APICurrencyDetailReply) Descriptor() ([]byte, []int)deprecated
- func (x *APICurrencyDetailReply) GetCode() uint64
- func (x *APICurrencyDetailReply) GetData() *Currency
- func (x *APICurrencyDetailReply) GetMessage() string
- func (*APICurrencyDetailReply) ProtoMessage()
- func (x *APICurrencyDetailReply) ProtoReflect() protoreflect.Message
- func (x *APICurrencyDetailReply) Reset()
- func (x *APICurrencyDetailReply) String() string
- func (m *APICurrencyDetailReply) Validate() error
- func (m *APICurrencyDetailReply) ValidateAll() error
- type APICurrencyDetailReplyMultiError
- type APICurrencyDetailReplyValidationError
- func (e APICurrencyDetailReplyValidationError) Cause() error
- func (e APICurrencyDetailReplyValidationError) Error() string
- func (e APICurrencyDetailReplyValidationError) ErrorName() string
- func (e APICurrencyDetailReplyValidationError) Field() string
- func (e APICurrencyDetailReplyValidationError) Key() bool
- func (e APICurrencyDetailReplyValidationError) Reason() string
- type APICurrencyDetailRequest
- func (*APICurrencyDetailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APICurrencyDetailRequest) GetId() int64
- func (*APICurrencyDetailRequest) ProtoMessage()
- func (x *APICurrencyDetailRequest) ProtoReflect() protoreflect.Message
- func (x *APICurrencyDetailRequest) Reset()
- func (x *APICurrencyDetailRequest) String() string
- func (m *APICurrencyDetailRequest) Validate() error
- func (m *APICurrencyDetailRequest) ValidateAll() error
- type APICurrencyDetailRequestMultiError
- type APICurrencyDetailRequestValidationError
- func (e APICurrencyDetailRequestValidationError) Cause() error
- func (e APICurrencyDetailRequestValidationError) Error() string
- func (e APICurrencyDetailRequestValidationError) ErrorName() string
- func (e APICurrencyDetailRequestValidationError) Field() string
- func (e APICurrencyDetailRequestValidationError) Key() bool
- func (e APICurrencyDetailRequestValidationError) Reason() string
- type APITradingTokenAddRequest
- func (*APITradingTokenAddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APITradingTokenAddRequest) GetCurrencyId() int64
- func (x *APITradingTokenAddRequest) GetExchange() string
- func (*APITradingTokenAddRequest) ProtoMessage()
- func (x *APITradingTokenAddRequest) ProtoReflect() protoreflect.Message
- func (x *APITradingTokenAddRequest) Reset()
- func (x *APITradingTokenAddRequest) String() string
- func (m *APITradingTokenAddRequest) Validate() error
- func (m *APITradingTokenAddRequest) ValidateAll() error
- type APITradingTokenAddRequestMultiError
- type APITradingTokenAddRequestValidationError
- func (e APITradingTokenAddRequestValidationError) Cause() error
- func (e APITradingTokenAddRequestValidationError) Error() string
- func (e APITradingTokenAddRequestValidationError) ErrorName() string
- func (e APITradingTokenAddRequestValidationError) Field() string
- func (e APITradingTokenAddRequestValidationError) Key() bool
- func (e APITradingTokenAddRequestValidationError) Reason() string
- type APITradingTokenUpdateRequest
- func (*APITradingTokenUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APITradingTokenUpdateRequest) GetBase() string
- func (x *APITradingTokenUpdateRequest) GetBuyEnable() bool
- func (x *APITradingTokenUpdateRequest) GetEnable() bool
- func (x *APITradingTokenUpdateRequest) GetExchange() string
- func (x *APITradingTokenUpdateRequest) GetId() int64
- func (x *APITradingTokenUpdateRequest) GetOrderTopic() string
- func (x *APITradingTokenUpdateRequest) GetQuote() string
- func (x *APITradingTokenUpdateRequest) GetScore() int64
- func (x *APITradingTokenUpdateRequest) GetSellEnable() bool
- func (x *APITradingTokenUpdateRequest) GetTicketTopic() string
- func (x *APITradingTokenUpdateRequest) GetUpdatedAt() *datetime.DateTime
- func (x *APITradingTokenUpdateRequest) GetUserId() int64
- func (*APITradingTokenUpdateRequest) ProtoMessage()
- func (x *APITradingTokenUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *APITradingTokenUpdateRequest) Reset()
- func (x *APITradingTokenUpdateRequest) String() string
- func (m *APITradingTokenUpdateRequest) Validate() error
- func (m *APITradingTokenUpdateRequest) ValidateAll() error
- type APITradingTokenUpdateRequestMultiError
- type APITradingTokenUpdateRequestValidationError
- func (e APITradingTokenUpdateRequestValidationError) Cause() error
- func (e APITradingTokenUpdateRequestValidationError) Error() string
- func (e APITradingTokenUpdateRequestValidationError) ErrorName() string
- func (e APITradingTokenUpdateRequestValidationError) Field() string
- func (e APITradingTokenUpdateRequestValidationError) Key() bool
- func (e APITradingTokenUpdateRequestValidationError) Reason() string
- type BaseServiceClient
- type BaseServiceServer
- type BatchInsertAndUpdateRequest
- func (*BatchInsertAndUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchInsertAndUpdateRequest) GetInserted() []*Currency
- func (x *BatchInsertAndUpdateRequest) GetUpdated() []*Currency
- func (*BatchInsertAndUpdateRequest) ProtoMessage()
- func (x *BatchInsertAndUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *BatchInsertAndUpdateRequest) Reset()
- func (x *BatchInsertAndUpdateRequest) String() string
- func (m *BatchInsertAndUpdateRequest) Validate() error
- func (m *BatchInsertAndUpdateRequest) ValidateAll() error
- type BatchInsertAndUpdateRequestMultiError
- type BatchInsertAndUpdateRequestValidationError
- func (e BatchInsertAndUpdateRequestValidationError) Cause() error
- func (e BatchInsertAndUpdateRequestValidationError) Error() string
- func (e BatchInsertAndUpdateRequestValidationError) ErrorName() string
- func (e BatchInsertAndUpdateRequestValidationError) Field() string
- func (e BatchInsertAndUpdateRequestValidationError) Key() bool
- func (e BatchInsertAndUpdateRequestValidationError) Reason() string
- type CollectorGetWithNameReply
- func (*CollectorGetWithNameReply) Descriptor() ([]byte, []int)deprecated
- func (x *CollectorGetWithNameReply) GetCode() uint64
- func (x *CollectorGetWithNameReply) GetData() *CollectorInfo
- func (x *CollectorGetWithNameReply) GetMessage() string
- func (*CollectorGetWithNameReply) ProtoMessage()
- func (x *CollectorGetWithNameReply) ProtoReflect() protoreflect.Message
- func (x *CollectorGetWithNameReply) Reset()
- func (x *CollectorGetWithNameReply) String() string
- func (m *CollectorGetWithNameReply) Validate() error
- func (m *CollectorGetWithNameReply) ValidateAll() error
- type CollectorGetWithNameReplyMultiError
- type CollectorGetWithNameReplyValidationError
- func (e CollectorGetWithNameReplyValidationError) Cause() error
- func (e CollectorGetWithNameReplyValidationError) Error() string
- func (e CollectorGetWithNameReplyValidationError) ErrorName() string
- func (e CollectorGetWithNameReplyValidationError) Field() string
- func (e CollectorGetWithNameReplyValidationError) Key() bool
- func (e CollectorGetWithNameReplyValidationError) Reason() string
- type CollectorGetWithNameRequest
- func (*CollectorGetWithNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectorGetWithNameRequest) GetName() string
- func (*CollectorGetWithNameRequest) ProtoMessage()
- func (x *CollectorGetWithNameRequest) ProtoReflect() protoreflect.Message
- func (x *CollectorGetWithNameRequest) Reset()
- func (x *CollectorGetWithNameRequest) String() string
- func (m *CollectorGetWithNameRequest) Validate() error
- func (m *CollectorGetWithNameRequest) ValidateAll() error
- type CollectorGetWithNameRequestMultiError
- type CollectorGetWithNameRequestValidationError
- func (e CollectorGetWithNameRequestValidationError) Cause() error
- func (e CollectorGetWithNameRequestValidationError) Error() string
- func (e CollectorGetWithNameRequestValidationError) ErrorName() string
- func (e CollectorGetWithNameRequestValidationError) Field() string
- func (e CollectorGetWithNameRequestValidationError) Key() bool
- func (e CollectorGetWithNameRequestValidationError) Reason() string
- type CollectorInfo
- func (*CollectorInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CollectorInfo) GetCreatedAt() *datetime.DateTime
- func (x *CollectorInfo) GetExchange() string
- func (x *CollectorInfo) GetHost() string
- func (x *CollectorInfo) GetId() int64
- func (x *CollectorInfo) GetLastLoginAt() *datetime.DateTime
- func (x *CollectorInfo) GetPort() uint32
- func (x *CollectorInfo) GetRegisterAt() *datetime.DateTime
- func (x *CollectorInfo) GetStatus() uint32
- func (x *CollectorInfo) GetUpdatedAt() *datetime.DateTime
- func (*CollectorInfo) ProtoMessage()
- func (x *CollectorInfo) ProtoReflect() protoreflect.Message
- func (x *CollectorInfo) Reset()
- func (x *CollectorInfo) String() string
- func (m *CollectorInfo) Validate() error
- func (m *CollectorInfo) ValidateAll() error
- type CollectorInfoMultiError
- type CollectorInfoValidationError
- func (e CollectorInfoValidationError) Cause() error
- func (e CollectorInfoValidationError) Error() string
- func (e CollectorInfoValidationError) ErrorName() string
- func (e CollectorInfoValidationError) Field() string
- func (e CollectorInfoValidationError) Key() bool
- func (e CollectorInfoValidationError) Reason() string
- type CollectorReply
- func (*CollectorReply) Descriptor() ([]byte, []int)deprecated
- func (x *CollectorReply) GetCode() uint64
- func (x *CollectorReply) GetData() *anypb.Any
- func (x *CollectorReply) GetMessage() string
- func (*CollectorReply) ProtoMessage()
- func (x *CollectorReply) ProtoReflect() protoreflect.Message
- func (x *CollectorReply) Reset()
- func (x *CollectorReply) String() string
- func (m *CollectorReply) Validate() error
- func (m *CollectorReply) ValidateAll() error
- type CollectorReplyMultiError
- type CollectorReplyValidationError
- func (e CollectorReplyValidationError) Cause() error
- func (e CollectorReplyValidationError) Error() string
- func (e CollectorReplyValidationError) ErrorName() string
- func (e CollectorReplyValidationError) Field() string
- func (e CollectorReplyValidationError) Key() bool
- func (e CollectorReplyValidationError) Reason() string
- type CollectorRequest
- func (*CollectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectorRequest) GetExchange() string
- func (x *CollectorRequest) GetHost() string
- func (x *CollectorRequest) GetPort() uint32
- func (*CollectorRequest) ProtoMessage()
- func (x *CollectorRequest) ProtoReflect() protoreflect.Message
- func (x *CollectorRequest) Reset()
- func (x *CollectorRequest) String() string
- func (m *CollectorRequest) Validate() error
- func (m *CollectorRequest) ValidateAll() error
- type CollectorRequestMultiError
- type CollectorRequestValidationError
- func (e CollectorRequestValidationError) Cause() error
- func (e CollectorRequestValidationError) Error() string
- func (e CollectorRequestValidationError) ErrorName() string
- func (e CollectorRequestValidationError) Field() string
- func (e CollectorRequestValidationError) Key() bool
- func (e CollectorRequestValidationError) Reason() string
- type CollectorServiceClient
- type CollectorServiceServer
- type CollectorTradingTokenInfo
- func (*CollectorTradingTokenInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CollectorTradingTokenInfo) GetBase() string
- func (x *CollectorTradingTokenInfo) GetCount() int64
- func (x *CollectorTradingTokenInfo) GetExchange() string
- func (x *CollectorTradingTokenInfo) GetExtraInfo() []byte
- func (x *CollectorTradingTokenInfo) GetOrderTopic() string
- func (x *CollectorTradingTokenInfo) GetQuote() string
- func (x *CollectorTradingTokenInfo) GetTicketTopic() string
- func (*CollectorTradingTokenInfo) ProtoMessage()
- func (x *CollectorTradingTokenInfo) ProtoReflect() protoreflect.Message
- func (x *CollectorTradingTokenInfo) Reset()
- func (x *CollectorTradingTokenInfo) String() string
- func (m *CollectorTradingTokenInfo) Validate() error
- func (m *CollectorTradingTokenInfo) ValidateAll() error
- type CollectorTradingTokenInfoMultiError
- type CollectorTradingTokenInfoValidationError
- func (e CollectorTradingTokenInfoValidationError) Cause() error
- func (e CollectorTradingTokenInfoValidationError) Error() string
- func (e CollectorTradingTokenInfoValidationError) ErrorName() string
- func (e CollectorTradingTokenInfoValidationError) Field() string
- func (e CollectorTradingTokenInfoValidationError) Key() bool
- func (e CollectorTradingTokenInfoValidationError) Reason() string
- type CreateOrderReply
- func (*CreateOrderReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrderReply) GetAmount() string
- func (x *CreateOrderReply) GetBase() string
- func (x *CreateOrderReply) GetCashAmount() string
- func (x *CreateOrderReply) GetCreateTime() string
- func (x *CreateOrderReply) GetData() []byte
- func (x *CreateOrderReply) GetFee() string
- func (x *CreateOrderReply) GetId() string
- func (x *CreateOrderReply) GetPrice() string
- func (x *CreateOrderReply) GetQuote() string
- func (x *CreateOrderReply) GetSide() string
- func (x *CreateOrderReply) GetStatus() string
- func (*CreateOrderReply) ProtoMessage()
- func (x *CreateOrderReply) ProtoReflect() protoreflect.Message
- func (x *CreateOrderReply) Reset()
- func (x *CreateOrderReply) String() string
- func (m *CreateOrderReply) Validate() error
- func (m *CreateOrderReply) ValidateAll() error
- type CreateOrderReplyMultiError
- type CreateOrderReplyValidationError
- func (e CreateOrderReplyValidationError) Cause() error
- func (e CreateOrderReplyValidationError) Error() string
- func (e CreateOrderReplyValidationError) ErrorName() string
- func (e CreateOrderReplyValidationError) Field() string
- func (e CreateOrderReplyValidationError) Key() bool
- func (e CreateOrderReplyValidationError) Reason() string
- type CreateOrderRequest
- func (*CreateOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrderRequest) GetAmount() string
- func (x *CreateOrderRequest) GetBase() string
- func (x *CreateOrderRequest) GetExchange() string
- func (x *CreateOrderRequest) GetOrderId() string
- func (x *CreateOrderRequest) GetOther() []byte
- func (x *CreateOrderRequest) GetPrice() string
- func (x *CreateOrderRequest) GetQuote() string
- func (x *CreateOrderRequest) GetSide() string
- func (*CreateOrderRequest) ProtoMessage()
- func (x *CreateOrderRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrderRequest) Reset()
- func (x *CreateOrderRequest) String() string
- func (m *CreateOrderRequest) Validate() error
- func (m *CreateOrderRequest) ValidateAll() error
- type CreateOrderRequestMultiError
- type CreateOrderRequestValidationError
- func (e CreateOrderRequestValidationError) Cause() error
- func (e CreateOrderRequestValidationError) Error() string
- func (e CreateOrderRequestValidationError) ErrorName() string
- func (e CreateOrderRequestValidationError) Field() string
- func (e CreateOrderRequestValidationError) Key() bool
- func (e CreateOrderRequestValidationError) Reason() string
- type Currency
- func (*Currency) Descriptor() ([]byte, []int)deprecated
- func (x *Currency) GetAmountPrecision() int32
- func (x *Currency) GetBase() string
- func (x *Currency) GetCreatedAt() *datetime.DateTime
- func (x *Currency) GetExchange() string
- func (x *Currency) GetExtraInfo() []byte
- func (x *Currency) GetId() int64
- func (x *Currency) GetMaker() string
- func (x *Currency) GetMinBaseAmount() int32
- func (x *Currency) GetMinQuoteAmount() int32
- func (x *Currency) GetName() string
- func (x *Currency) GetPricePrecision() int32
- func (x *Currency) GetQuote() string
- func (x *Currency) GetRaw() []byte
- func (x *Currency) GetStatus() CurrencyStatus
- func (x *Currency) GetSymbol() string
- func (x *Currency) GetTaker() string
- func (x *Currency) GetUpdatedAt() *datetime.DateTime
- func (x *Currency) GetValuePrecision() int32
- func (*Currency) ProtoMessage()
- func (x *Currency) ProtoReflect() protoreflect.Message
- func (x *Currency) Reset()
- func (x *Currency) String() string
- func (m *Currency) Validate() error
- func (m *Currency) ValidateAll() error
- type CurrencyListReply
- func (*CurrencyListReply) Descriptor() ([]byte, []int)deprecated
- func (x *CurrencyListReply) GetCode() uint64
- func (x *CurrencyListReply) GetData() []*Currency
- func (x *CurrencyListReply) GetMessage() string
- func (x *CurrencyListReply) GetPage() uint64
- func (x *CurrencyListReply) GetPageSize() uint64
- func (x *CurrencyListReply) GetTotal() uint64
- func (*CurrencyListReply) ProtoMessage()
- func (x *CurrencyListReply) ProtoReflect() protoreflect.Message
- func (x *CurrencyListReply) Reset()
- func (x *CurrencyListReply) String() string
- func (m *CurrencyListReply) Validate() error
- func (m *CurrencyListReply) ValidateAll() error
- type CurrencyListReplyMultiError
- type CurrencyListReplyValidationError
- func (e CurrencyListReplyValidationError) Cause() error
- func (e CurrencyListReplyValidationError) Error() string
- func (e CurrencyListReplyValidationError) ErrorName() string
- func (e CurrencyListReplyValidationError) Field() string
- func (e CurrencyListReplyValidationError) Key() bool
- func (e CurrencyListReplyValidationError) Reason() string
- type CurrencyListRequest
- func (*CurrencyListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CurrencyListRequest) GetBase() string
- func (x *CurrencyListRequest) GetCollector() string
- func (x *CurrencyListRequest) GetPage() uint64
- func (x *CurrencyListRequest) GetPageSize() uint64
- func (x *CurrencyListRequest) GetQuote() string
- func (x *CurrencyListRequest) GetScoreMax() int64
- func (x *CurrencyListRequest) GetScoreMin() int64
- func (x *CurrencyListRequest) GetStatus() CurrencyStatus
- func (*CurrencyListRequest) ProtoMessage()
- func (x *CurrencyListRequest) ProtoReflect() protoreflect.Message
- func (x *CurrencyListRequest) Reset()
- func (x *CurrencyListRequest) String() string
- func (m *CurrencyListRequest) Validate() error
- func (m *CurrencyListRequest) ValidateAll() error
- type CurrencyListRequestMultiError
- type CurrencyListRequestValidationError
- func (e CurrencyListRequestValidationError) Cause() error
- func (e CurrencyListRequestValidationError) Error() string
- func (e CurrencyListRequestValidationError) ErrorName() string
- func (e CurrencyListRequestValidationError) Field() string
- func (e CurrencyListRequestValidationError) Key() bool
- func (e CurrencyListRequestValidationError) Reason() string
- type CurrencyMultiError
- type CurrencyServiceClient
- type CurrencyServiceServer
- type CurrencyStatus
- func (CurrencyStatus) Descriptor() protoreflect.EnumDescriptor
- func (x CurrencyStatus) Enum() *CurrencyStatus
- func (CurrencyStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x CurrencyStatus) Number() protoreflect.EnumNumber
- func (x CurrencyStatus) String() string
- func (CurrencyStatus) Type() protoreflect.EnumType
- type CurrencyValidationError
- type EmptyRequest
- func (*EmptyRequest) Descriptor() ([]byte, []int)deprecated
- func (*EmptyRequest) ProtoMessage()
- func (x *EmptyRequest) ProtoReflect() protoreflect.Message
- func (x *EmptyRequest) Reset()
- func (x *EmptyRequest) String() string
- func (m *EmptyRequest) Validate() error
- func (m *EmptyRequest) ValidateAll() error
- type EmptyRequestMultiError
- type EmptyRequestValidationError
- func (e EmptyRequestValidationError) Cause() error
- func (e EmptyRequestValidationError) Error() string
- func (e EmptyRequestValidationError) ErrorName() string
- func (e EmptyRequestValidationError) Field() string
- func (e EmptyRequestValidationError) Key() bool
- func (e EmptyRequestValidationError) Reason() string
- type HealthCheckReply
- func (*HealthCheckReply) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckReply) GetMessage() string
- func (x *HealthCheckReply) GetStatus() HealthCheckReply_ServingStatus
- func (*HealthCheckReply) ProtoMessage()
- func (x *HealthCheckReply) ProtoReflect() protoreflect.Message
- func (x *HealthCheckReply) Reset()
- func (x *HealthCheckReply) String() string
- func (m *HealthCheckReply) Validate() error
- func (m *HealthCheckReply) ValidateAll() error
- type HealthCheckReplyMultiError
- type HealthCheckReplyValidationError
- func (e HealthCheckReplyValidationError) Cause() error
- func (e HealthCheckReplyValidationError) Error() string
- func (e HealthCheckReplyValidationError) ErrorName() string
- func (e HealthCheckReplyValidationError) Field() string
- func (e HealthCheckReplyValidationError) Key() bool
- func (e HealthCheckReplyValidationError) Reason() string
- type HealthCheckReply_ServingStatus
- func (HealthCheckReply_ServingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x HealthCheckReply_ServingStatus) Enum() *HealthCheckReply_ServingStatus
- func (HealthCheckReply_ServingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthCheckReply_ServingStatus) Number() protoreflect.EnumNumber
- func (x HealthCheckReply_ServingStatus) String() string
- func (HealthCheckReply_ServingStatus) Type() protoreflect.EnumType
- type HealthCheckRequest
- func (*HealthCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckRequest) GetService() string
- func (*HealthCheckRequest) ProtoMessage()
- func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
- func (x *HealthCheckRequest) Reset()
- func (x *HealthCheckRequest) String() string
- func (m *HealthCheckRequest) Validate() error
- func (m *HealthCheckRequest) ValidateAll() error
- type HealthCheckRequestMultiError
- type HealthCheckRequestValidationError
- func (e HealthCheckRequestValidationError) Cause() error
- func (e HealthCheckRequestValidationError) Error() string
- func (e HealthCheckRequestValidationError) ErrorName() string
- func (e HealthCheckRequestValidationError) Field() string
- func (e HealthCheckRequestValidationError) Key() bool
- func (e HealthCheckRequestValidationError) Reason() string
- type HealthClient
- type HealthServer
- type Health_WatchClient
- type Health_WatchServer
- type HelloWorldReply
- func (*HelloWorldReply) Descriptor() ([]byte, []int)deprecated
- func (x *HelloWorldReply) GetCode() int64
- func (x *HelloWorldReply) GetData() string
- func (x *HelloWorldReply) GetMessage() string
- func (*HelloWorldReply) ProtoMessage()
- func (x *HelloWorldReply) ProtoReflect() protoreflect.Message
- func (x *HelloWorldReply) Reset()
- func (x *HelloWorldReply) String() string
- func (m *HelloWorldReply) Validate() error
- func (m *HelloWorldReply) ValidateAll() error
- type HelloWorldReplyMultiError
- type HelloWorldReplyValidationError
- func (e HelloWorldReplyValidationError) Cause() error
- func (e HelloWorldReplyValidationError) Error() string
- func (e HelloWorldReplyValidationError) ErrorName() string
- func (e HelloWorldReplyValidationError) Field() string
- func (e HelloWorldReplyValidationError) Key() bool
- func (e HelloWorldReplyValidationError) Reason() string
- type HelloWorldRequest
- func (*HelloWorldRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HelloWorldRequest) GetName() string
- func (*HelloWorldRequest) ProtoMessage()
- func (x *HelloWorldRequest) ProtoReflect() protoreflect.Message
- func (x *HelloWorldRequest) Reset()
- func (x *HelloWorldRequest) String() string
- func (m *HelloWorldRequest) Validate() error
- func (m *HelloWorldRequest) ValidateAll() error
- type HelloWorldRequestMultiError
- type HelloWorldRequestValidationError
- func (e HelloWorldRequestValidationError) Cause() error
- func (e HelloWorldRequestValidationError) Error() string
- func (e HelloWorldRequestValidationError) ErrorName() string
- func (e HelloWorldRequestValidationError) Field() string
- func (e HelloWorldRequestValidationError) Key() bool
- func (e HelloWorldRequestValidationError) Reason() string
- type HelloWorldServiceClient
- type HelloWorldServiceServer
- type LoginInfo
- func (*LoginInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LoginInfo) GetEmail() string
- func (x *LoginInfo) GetNickName() string
- func (x *LoginInfo) GetPhone() string
- func (x *LoginInfo) GetToken() string
- func (x *LoginInfo) GetType() string
- func (x *LoginInfo) GetUserId() string
- func (*LoginInfo) ProtoMessage()
- func (x *LoginInfo) ProtoReflect() protoreflect.Message
- func (x *LoginInfo) Reset()
- func (x *LoginInfo) String() string
- func (m *LoginInfo) Validate() error
- func (m *LoginInfo) ValidateAll() error
- type LoginInfoMultiError
- type LoginInfoValidationError
- type LoginReply
- func (*LoginReply) Descriptor() ([]byte, []int)deprecated
- func (x *LoginReply) GetCode() int32
- func (x *LoginReply) GetData() *LoginInfo
- func (x *LoginReply) GetMessage() string
- func (*LoginReply) ProtoMessage()
- func (x *LoginReply) ProtoReflect() protoreflect.Message
- func (x *LoginReply) Reset()
- func (x *LoginReply) String() string
- func (m *LoginReply) Validate() error
- func (m *LoginReply) ValidateAll() error
- type LoginReplyMultiError
- type LoginReplyValidationError
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetEmail() string
- func (x *LoginRequest) GetLoginType() LoginRequest_LoginType
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetPhone() string
- func (x *LoginRequest) GetUsername() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (m *LoginRequest) Validate() error
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type LoginRequest_LoginType
- func (LoginRequest_LoginType) Descriptor() protoreflect.EnumDescriptor
- func (x LoginRequest_LoginType) Enum() *LoginRequest_LoginType
- func (LoginRequest_LoginType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoginRequest_LoginType) Number() protoreflect.EnumNumber
- func (x LoginRequest_LoginType) String() string
- func (LoginRequest_LoginType) Type() protoreflect.EnumType
- type MailVerifyCodeReply
- func (*MailVerifyCodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *MailVerifyCodeReply) GetCode() uint64
- func (x *MailVerifyCodeReply) GetData() string
- func (x *MailVerifyCodeReply) GetMessage() string
- func (*MailVerifyCodeReply) ProtoMessage()
- func (x *MailVerifyCodeReply) ProtoReflect() protoreflect.Message
- func (x *MailVerifyCodeReply) Reset()
- func (x *MailVerifyCodeReply) String() string
- func (m *MailVerifyCodeReply) Validate() error
- func (m *MailVerifyCodeReply) ValidateAll() error
- type MailVerifyCodeReplyMultiError
- type MailVerifyCodeReplyValidationError
- func (e MailVerifyCodeReplyValidationError) Cause() error
- func (e MailVerifyCodeReplyValidationError) Error() string
- func (e MailVerifyCodeReplyValidationError) ErrorName() string
- func (e MailVerifyCodeReplyValidationError) Field() string
- func (e MailVerifyCodeReplyValidationError) Key() bool
- func (e MailVerifyCodeReplyValidationError) Reason() string
- type MailVerifyCodeRequest
- func (*MailVerifyCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MailVerifyCodeRequest) GetCaptcha() string
- func (x *MailVerifyCodeRequest) GetCodeType() VerifyCodeType
- func (x *MailVerifyCodeRequest) GetMail() string
- func (x *MailVerifyCodeRequest) GetPhone() string
- func (x *MailVerifyCodeRequest) GetType() VerifyType
- func (*MailVerifyCodeRequest) ProtoMessage()
- func (x *MailVerifyCodeRequest) ProtoReflect() protoreflect.Message
- func (x *MailVerifyCodeRequest) Reset()
- func (x *MailVerifyCodeRequest) String() string
- func (m *MailVerifyCodeRequest) Validate() error
- func (m *MailVerifyCodeRequest) ValidateAll() error
- type MailVerifyCodeRequestMultiError
- type MailVerifyCodeRequestValidationError
- func (e MailVerifyCodeRequestValidationError) Cause() error
- func (e MailVerifyCodeRequestValidationError) Error() string
- func (e MailVerifyCodeRequestValidationError) ErrorName() string
- func (e MailVerifyCodeRequestValidationError) Field() string
- func (e MailVerifyCodeRequestValidationError) Key() bool
- func (e MailVerifyCodeRequestValidationError) Reason() string
- type OrderServiceClient
- type OrderServiceServer
- type PingPongServiceClient
- type PingPongServiceServer
- type PingReply
- func (*PingReply) Descriptor() ([]byte, []int)deprecated
- func (x *PingReply) GetValue() string
- func (*PingReply) ProtoMessage()
- func (x *PingReply) ProtoReflect() protoreflect.Message
- func (x *PingReply) Reset()
- func (x *PingReply) String() string
- func (m *PingReply) Validate() error
- func (m *PingReply) ValidateAll() error
- type PingReplyMultiError
- type PingReplyValidationError
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PingRequest) GetValue() string
- func (*PingRequest) ProtoMessage()
- func (x *PingRequest) ProtoReflect() protoreflect.Message
- func (x *PingRequest) Reset()
- func (x *PingRequest) String() string
- func (m *PingRequest) Validate() error
- func (m *PingRequest) ValidateAll() error
- type PingRequestMultiError
- type PingRequestValidationError
- func (e PingRequestValidationError) Cause() error
- func (e PingRequestValidationError) Error() string
- func (e PingRequestValidationError) ErrorName() string
- func (e PingRequestValidationError) Field() string
- func (e PingRequestValidationError) Key() bool
- func (e PingRequestValidationError) Reason() string
- type ProxyApplyReply
- func (*ProxyApplyReply) Descriptor() ([]byte, []int)deprecated
- func (*ProxyApplyReply) ProtoMessage()
- func (x *ProxyApplyReply) ProtoReflect() protoreflect.Message
- func (x *ProxyApplyReply) Reset()
- func (x *ProxyApplyReply) String() string
- func (m *ProxyApplyReply) Validate() error
- func (m *ProxyApplyReply) ValidateAll() error
- type ProxyApplyReplyMultiError
- type ProxyApplyReplyValidationError
- func (e ProxyApplyReplyValidationError) Cause() error
- func (e ProxyApplyReplyValidationError) Error() string
- func (e ProxyApplyReplyValidationError) ErrorName() string
- func (e ProxyApplyReplyValidationError) Field() string
- func (e ProxyApplyReplyValidationError) Key() bool
- func (e ProxyApplyReplyValidationError) Reason() string
- type ProxyApplyRequest
- func (*ProxyApplyRequest) Descriptor() ([]byte, []int)deprecated
- func (*ProxyApplyRequest) ProtoMessage()
- func (x *ProxyApplyRequest) ProtoReflect() protoreflect.Message
- func (x *ProxyApplyRequest) Reset()
- func (x *ProxyApplyRequest) String() string
- func (m *ProxyApplyRequest) Validate() error
- func (m *ProxyApplyRequest) ValidateAll() error
- type ProxyApplyRequestMultiError
- type ProxyApplyRequestValidationError
- func (e ProxyApplyRequestValidationError) Cause() error
- func (e ProxyApplyRequestValidationError) Error() string
- func (e ProxyApplyRequestValidationError) ErrorName() string
- func (e ProxyApplyRequestValidationError) Field() string
- func (e ProxyApplyRequestValidationError) Key() bool
- func (e ProxyApplyRequestValidationError) Reason() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetConfirmPassword() string
- func (x *RegisterRequest) GetMail() string
- func (x *RegisterRequest) GetNickName() string
- func (x *RegisterRequest) GetPassword() string
- func (x *RegisterRequest) GetPhone() string
- func (x *RegisterRequest) GetType() VerifyType
- func (x *RegisterRequest) GetVerifyCode() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- func (m *RegisterRequest) Validate() error
- func (m *RegisterRequest) ValidateAll() error
- type RegisterRequestMultiError
- type RegisterRequestValidationError
- func (e RegisterRequestValidationError) Cause() error
- func (e RegisterRequestValidationError) Error() string
- func (e RegisterRequestValidationError) ErrorName() string
- func (e RegisterRequestValidationError) Field() string
- func (e RegisterRequestValidationError) Key() bool
- func (e RegisterRequestValidationError) Reason() string
- type Reply
- func (*Reply) Descriptor() ([]byte, []int)deprecated
- func (x *Reply) GetCode() int64
- func (x *Reply) GetData() string
- func (x *Reply) GetMessage() string
- func (x *Reply) GetPage() uint64
- func (x *Reply) GetPageSize() uint64
- func (x *Reply) GetTotal() uint64
- func (*Reply) ProtoMessage()
- func (x *Reply) ProtoReflect() protoreflect.Message
- func (x *Reply) Reset()
- func (x *Reply) String() string
- func (m *Reply) Validate() error
- func (m *Reply) ValidateAll() error
- type ReplyMultiError
- type ReplyValidationError
- type ResetPwdNoLoginReply
- func (*ResetPwdNoLoginReply) Descriptor() ([]byte, []int)deprecated
- func (*ResetPwdNoLoginReply) ProtoMessage()
- func (x *ResetPwdNoLoginReply) ProtoReflect() protoreflect.Message
- func (x *ResetPwdNoLoginReply) Reset()
- func (x *ResetPwdNoLoginReply) String() string
- func (m *ResetPwdNoLoginReply) Validate() error
- func (m *ResetPwdNoLoginReply) ValidateAll() error
- type ResetPwdNoLoginReplyMultiError
- type ResetPwdNoLoginReplyValidationError
- func (e ResetPwdNoLoginReplyValidationError) Cause() error
- func (e ResetPwdNoLoginReplyValidationError) Error() string
- func (e ResetPwdNoLoginReplyValidationError) ErrorName() string
- func (e ResetPwdNoLoginReplyValidationError) Field() string
- func (e ResetPwdNoLoginReplyValidationError) Key() bool
- func (e ResetPwdNoLoginReplyValidationError) Reason() string
- type ResetPwdNoLoginRequest
- func (*ResetPwdNoLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPwdNoLoginRequest) GetEmail() string
- func (x *ResetPwdNoLoginRequest) GetPhone() string
- func (x *ResetPwdNoLoginRequest) GetVerifyCode() string
- func (*ResetPwdNoLoginRequest) ProtoMessage()
- func (x *ResetPwdNoLoginRequest) ProtoReflect() protoreflect.Message
- func (x *ResetPwdNoLoginRequest) Reset()
- func (x *ResetPwdNoLoginRequest) String() string
- func (m *ResetPwdNoLoginRequest) Validate() error
- func (m *ResetPwdNoLoginRequest) ValidateAll() error
- type ResetPwdNoLoginRequestMultiError
- type ResetPwdNoLoginRequestValidationError
- func (e ResetPwdNoLoginRequestValidationError) Cause() error
- func (e ResetPwdNoLoginRequestValidationError) Error() string
- func (e ResetPwdNoLoginRequestValidationError) ErrorName() string
- func (e ResetPwdNoLoginRequestValidationError) Field() string
- func (e ResetPwdNoLoginRequestValidationError) Key() bool
- func (e ResetPwdNoLoginRequestValidationError) Reason() string
- type ResetPwdRequest
- func (*ResetPwdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPwdRequest) GetCaptcha() string
- func (x *ResetPwdRequest) GetConfirmPassword() string
- func (x *ResetPwdRequest) GetNewPassword() string
- func (x *ResetPwdRequest) GetOldPassword() string
- func (*ResetPwdRequest) ProtoMessage()
- func (x *ResetPwdRequest) ProtoReflect() protoreflect.Message
- func (x *ResetPwdRequest) Reset()
- func (x *ResetPwdRequest) String() string
- func (m *ResetPwdRequest) Validate() error
- func (m *ResetPwdRequest) ValidateAll() error
- type ResetPwdRequestMultiError
- type ResetPwdRequestValidationError
- func (e ResetPwdRequestValidationError) Cause() error
- func (e ResetPwdRequestValidationError) Error() string
- func (e ResetPwdRequestValidationError) ErrorName() string
- func (e ResetPwdRequestValidationError) Field() string
- func (e ResetPwdRequestValidationError) Key() bool
- func (e ResetPwdRequestValidationError) Reason() string
- type TradingTokenApplyReply
- func (*TradingTokenApplyReply) Descriptor() ([]byte, []int)deprecated
- func (x *TradingTokenApplyReply) GetCode() int64
- func (x *TradingTokenApplyReply) GetData() *anypb.Any
- func (x *TradingTokenApplyReply) GetMessage() string
- func (*TradingTokenApplyReply) ProtoMessage()
- func (x *TradingTokenApplyReply) ProtoReflect() protoreflect.Message
- func (x *TradingTokenApplyReply) Reset()
- func (x *TradingTokenApplyReply) String() string
- func (m *TradingTokenApplyReply) Validate() error
- func (m *TradingTokenApplyReply) ValidateAll() error
- type TradingTokenApplyReplyMultiError
- type TradingTokenApplyReplyValidationError
- func (e TradingTokenApplyReplyValidationError) Cause() error
- func (e TradingTokenApplyReplyValidationError) Error() string
- func (e TradingTokenApplyReplyValidationError) ErrorName() string
- func (e TradingTokenApplyReplyValidationError) Field() string
- func (e TradingTokenApplyReplyValidationError) Key() bool
- func (e TradingTokenApplyReplyValidationError) Reason() string
- type TradingTokenCancelReply
- func (*TradingTokenCancelReply) Descriptor() ([]byte, []int)deprecated
- func (x *TradingTokenCancelReply) GetCode() int64
- func (x *TradingTokenCancelReply) GetData() *anypb.Any
- func (x *TradingTokenCancelReply) GetMessage() string
- func (*TradingTokenCancelReply) ProtoMessage()
- func (x *TradingTokenCancelReply) ProtoReflect() protoreflect.Message
- func (x *TradingTokenCancelReply) Reset()
- func (x *TradingTokenCancelReply) String() string
- func (m *TradingTokenCancelReply) Validate() error
- func (m *TradingTokenCancelReply) ValidateAll() error
- type TradingTokenCancelReplyMultiError
- type TradingTokenCancelReplyValidationError
- func (e TradingTokenCancelReplyValidationError) Cause() error
- func (e TradingTokenCancelReplyValidationError) Error() string
- func (e TradingTokenCancelReplyValidationError) ErrorName() string
- func (e TradingTokenCancelReplyValidationError) Field() string
- func (e TradingTokenCancelReplyValidationError) Key() bool
- func (e TradingTokenCancelReplyValidationError) Reason() string
- type TradingTokenCollectorListReply
- func (*TradingTokenCollectorListReply) Descriptor() ([]byte, []int)deprecated
- func (x *TradingTokenCollectorListReply) GetCode() uint64
- func (x *TradingTokenCollectorListReply) GetData() []*CollectorTradingTokenInfo
- func (x *TradingTokenCollectorListReply) GetMessage() string
- func (x *TradingTokenCollectorListReply) GetPage() uint64
- func (x *TradingTokenCollectorListReply) GetPageSize() uint64
- func (x *TradingTokenCollectorListReply) GetTotal() uint64
- func (*TradingTokenCollectorListReply) ProtoMessage()
- func (x *TradingTokenCollectorListReply) ProtoReflect() protoreflect.Message
- func (x *TradingTokenCollectorListReply) Reset()
- func (x *TradingTokenCollectorListReply) String() string
- func (m *TradingTokenCollectorListReply) Validate() error
- func (m *TradingTokenCollectorListReply) ValidateAll() error
- type TradingTokenCollectorListReplyMultiError
- type TradingTokenCollectorListReplyValidationError
- func (e TradingTokenCollectorListReplyValidationError) Cause() error
- func (e TradingTokenCollectorListReplyValidationError) Error() string
- func (e TradingTokenCollectorListReplyValidationError) ErrorName() string
- func (e TradingTokenCollectorListReplyValidationError) Field() string
- func (e TradingTokenCollectorListReplyValidationError) Key() bool
- func (e TradingTokenCollectorListReplyValidationError) Reason() string
- type TradingTokenCollectorListRequest
- func (*TradingTokenCollectorListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TradingTokenCollectorListRequest) GetCollectorName() string
- func (x *TradingTokenCollectorListRequest) GetPage() uint64
- func (x *TradingTokenCollectorListRequest) GetPageSize() uint64
- func (*TradingTokenCollectorListRequest) ProtoMessage()
- func (x *TradingTokenCollectorListRequest) ProtoReflect() protoreflect.Message
- func (x *TradingTokenCollectorListRequest) Reset()
- func (x *TradingTokenCollectorListRequest) String() string
- func (m *TradingTokenCollectorListRequest) Validate() error
- func (m *TradingTokenCollectorListRequest) ValidateAll() error
- type TradingTokenCollectorListRequestMultiError
- type TradingTokenCollectorListRequestValidationError
- func (e TradingTokenCollectorListRequestValidationError) Cause() error
- func (e TradingTokenCollectorListRequestValidationError) Error() string
- func (e TradingTokenCollectorListRequestValidationError) ErrorName() string
- func (e TradingTokenCollectorListRequestValidationError) Field() string
- func (e TradingTokenCollectorListRequestValidationError) Key() bool
- func (e TradingTokenCollectorListRequestValidationError) Reason() string
- type TradingTokenInfo
- func (*TradingTokenInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TradingTokenInfo) GetBase() string
- func (x *TradingTokenInfo) GetBuyEnable() bool
- func (x *TradingTokenInfo) GetCreateAt() *datetime.DateTime
- func (x *TradingTokenInfo) GetEnable() bool
- func (x *TradingTokenInfo) GetExchange() string
- func (x *TradingTokenInfo) GetExtraInfo() []byte
- func (x *TradingTokenInfo) GetId() int64
- func (x *TradingTokenInfo) GetOrderTopic() string
- func (x *TradingTokenInfo) GetQuote() string
- func (x *TradingTokenInfo) GetScore() int64
- func (x *TradingTokenInfo) GetSellEnable() bool
- func (x *TradingTokenInfo) GetTicketTopic() string
- func (x *TradingTokenInfo) GetUpdatedAt() *datetime.DateTime
- func (x *TradingTokenInfo) GetUserId() int64
- func (*TradingTokenInfo) ProtoMessage()
- func (x *TradingTokenInfo) ProtoReflect() protoreflect.Message
- func (x *TradingTokenInfo) Reset()
- func (x *TradingTokenInfo) String() string
- func (m *TradingTokenInfo) Validate() error
- func (m *TradingTokenInfo) ValidateAll() error
- type TradingTokenInfoMultiError
- type TradingTokenInfoValidationError
- func (e TradingTokenInfoValidationError) Cause() error
- func (e TradingTokenInfoValidationError) Error() string
- func (e TradingTokenInfoValidationError) ErrorName() string
- func (e TradingTokenInfoValidationError) Field() string
- func (e TradingTokenInfoValidationError) Key() bool
- func (e TradingTokenInfoValidationError) Reason() string
- type TradingTokenServiceClient
- type TradingTokenServiceServer
- type UnimplementedBaseServiceServer
- type UnimplementedCollectorServiceServer
- func (UnimplementedCollectorServiceServer) GetWithName(context.Context, *CollectorGetWithNameRequest) (*CollectorGetWithNameReply, error)
- func (UnimplementedCollectorServiceServer) Login(context.Context, *CollectorRequest) (*CollectorReply, error)
- func (UnimplementedCollectorServiceServer) Logout(context.Context, *CollectorRequest) (*CollectorReply, error)
- func (UnimplementedCollectorServiceServer) Register(context.Context, *CollectorRequest) (*CollectorReply, error)
- type UnimplementedCurrencyServiceServer
- func (UnimplementedCurrencyServiceServer) BatchInsertOrUpdate(context.Context, *BatchInsertAndUpdateRequest) (*Reply, error)
- func (UnimplementedCurrencyServiceServer) Detail(context.Context, *APICurrencyDetailRequest) (*APICurrencyDetailReply, error)
- func (UnimplementedCurrencyServiceServer) List(context.Context, *CurrencyListRequest) (*CurrencyListReply, error)
- type UnimplementedHealthServer
- type UnimplementedHelloWorldServiceServer
- type UnimplementedOrderServiceServer
- type UnimplementedPingPongServiceServer
- type UnimplementedTradingTokenServiceServer
- func (UnimplementedTradingTokenServiceServer) APITradingTokenAdd(context.Context, *APITradingTokenAddRequest) (*Reply, error)
- func (UnimplementedTradingTokenServiceServer) APITradingTokenUpdate(context.Context, *APITradingTokenUpdateRequest) (*Reply, error)
- func (UnimplementedTradingTokenServiceServer) ApplyTradingToken(context.Context, *CollectorTradingTokenInfo) (*TradingTokenApplyReply, error)
- func (UnimplementedTradingTokenServiceServer) CancelTradingToken(context.Context, *CollectorTradingTokenInfo) (*TradingTokenCancelReply, error)
- func (UnimplementedTradingTokenServiceServer) TradingTokenCollectorList(context.Context, *TradingTokenCollectorListRequest) (*TradingTokenCollectorListReply, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) ApiLogin(context.Context, *LoginRequest) (*LoginReply, error)
- func (UnimplementedUserServiceServer) ApiLogout(context.Context, *EmptyRequest) (*Reply, error)
- func (UnimplementedUserServiceServer) ApiMailVerifyCode(context.Context, *MailVerifyCodeRequest) (*MailVerifyCodeReply, error)
- func (UnimplementedUserServiceServer) ApiProxyApply(context.Context, *EmptyRequest) (*Reply, error)
- func (UnimplementedUserServiceServer) ApiRegister(context.Context, *RegisterRequest) (*LoginReply, error)
- func (UnimplementedUserServiceServer) ApiResetPwd(context.Context, *ResetPwdRequest) (*Reply, error)
- func (UnimplementedUserServiceServer) ApiResetPwdNoLogin(context.Context, *ResetPwdNoLoginRequest) (*Reply, error)
- func (UnimplementedUserServiceServer) ApiUpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoReply, error)
- type UnsafeBaseServiceServer
- type UnsafeCollectorServiceServer
- type UnsafeCurrencyServiceServer
- type UnsafeHealthServer
- type UnsafeHelloWorldServiceServer
- type UnsafeOrderServiceServer
- type UnsafePingPongServiceServer
- type UnsafeTradingTokenServiceServer
- type UnsafeUserServiceServer
- type UpdateUserInfoReply
- func (*UpdateUserInfoReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUserInfoReply) ProtoMessage()
- func (x *UpdateUserInfoReply) ProtoReflect() protoreflect.Message
- func (x *UpdateUserInfoReply) Reset()
- func (x *UpdateUserInfoReply) String() string
- func (m *UpdateUserInfoReply) Validate() error
- func (m *UpdateUserInfoReply) ValidateAll() error
- type UpdateUserInfoReplyMultiError
- type UpdateUserInfoReplyValidationError
- func (e UpdateUserInfoReplyValidationError) Cause() error
- func (e UpdateUserInfoReplyValidationError) Error() string
- func (e UpdateUserInfoReplyValidationError) ErrorName() string
- func (e UpdateUserInfoReplyValidationError) Field() string
- func (e UpdateUserInfoReplyValidationError) Key() bool
- func (e UpdateUserInfoReplyValidationError) Reason() string
- type UpdateUserInfoRequest
- func (*UpdateUserInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUserInfoRequest) ProtoMessage()
- func (x *UpdateUserInfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserInfoRequest) Reset()
- func (x *UpdateUserInfoRequest) String() string
- func (m *UpdateUserInfoRequest) Validate() error
- func (m *UpdateUserInfoRequest) ValidateAll() error
- type UpdateUserInfoRequestMultiError
- type UpdateUserInfoRequestValidationError
- func (e UpdateUserInfoRequestValidationError) Cause() error
- func (e UpdateUserInfoRequestValidationError) Error() string
- func (e UpdateUserInfoRequestValidationError) ErrorName() string
- func (e UpdateUserInfoRequestValidationError) Field() string
- func (e UpdateUserInfoRequestValidationError) Key() bool
- func (e UpdateUserInfoRequestValidationError) Reason() string
- type UserServiceClient
- type UserServiceServer
- type VerifyCodeType
- func (VerifyCodeType) Descriptor() protoreflect.EnumDescriptor
- func (x VerifyCodeType) Enum() *VerifyCodeType
- func (VerifyCodeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VerifyCodeType) Number() protoreflect.EnumNumber
- func (x VerifyCodeType) String() string
- func (VerifyCodeType) Type() protoreflect.EnumType
- type VerifyType
Constants ¶
This section is empty.
Variables ¶
var ( CurrencyStatus_name = map[int32]string{ 0: "unknown", 1: "enabled", 2: "disabled", 3: "buy_disabled", 4: "sell_disabled", } CurrencyStatus_value = map[string]int32{ "unknown": 0, "enabled": 1, "disabled": 2, "buy_disabled": 3, "sell_disabled": 4, } )
Enum value maps for CurrencyStatus.
var ( HealthCheckReply_ServingStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "SERVING", 2: "NOT_SERVING", 3: "SERVICE_UNKNOWN", } HealthCheckReply_ServingStatus_value = map[string]int32{ "UNKNOWN": 0, "SERVING": 1, "NOT_SERVING": 2, "SERVICE_UNKNOWN": 3, } )
Enum value maps for HealthCheckReply_ServingStatus.
var ( VerifyType_name = map[int32]string{ 0: "email", 1: "phone", } VerifyType_value = map[string]int32{ "email": 0, "phone": 1, } )
Enum value maps for VerifyType.
var ( VerifyCodeType_name = map[int32]string{ 0: "register", 1: "login", } VerifyCodeType_value = map[string]int32{ "register": 0, "login": 1, } )
Enum value maps for VerifyCodeType.
var ( LoginRequest_LoginType_name = map[int32]string{ 0: "lt_email", 1: "lt_phone", 2: "lt_account", } LoginRequest_LoginType_value = map[string]int32{ "lt_email": 0, "lt_phone": 1, "lt_account": 2, } )
Enum value maps for LoginRequest_LoginType.
var BaseService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.BaseService", HandlerType: (*BaseServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "NotFound", Handler: _BaseService_NotFound_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/common.proto", }
BaseService_ServiceDesc is the grpc.ServiceDesc for BaseService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CollectorService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.CollectorService", HandlerType: (*CollectorServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _CollectorService_Register_Handler, }, { MethodName: "Login", Handler: _CollectorService_Login_Handler, }, { MethodName: "Logout", Handler: _CollectorService_Logout_Handler, }, { MethodName: "GetWithName", Handler: _CollectorService_GetWithName_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/collector.proto", }
CollectorService_ServiceDesc is the grpc.ServiceDesc for CollectorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CurrencyService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.CurrencyService", HandlerType: (*CurrencyServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "BatchInsertOrUpdate", Handler: _CurrencyService_BatchInsertOrUpdate_Handler, }, { MethodName: "List", Handler: _CurrencyService_List_Handler, }, { MethodName: "Detail", Handler: _CurrencyService_Detail_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/currency.proto", }
CurrencyService_ServiceDesc is the grpc.ServiceDesc for CurrencyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_protobuf_collector_proto protoreflect.FileDescriptor
var File_protobuf_common_proto protoreflect.FileDescriptor
var File_protobuf_currency_proto protoreflect.FileDescriptor
var File_protobuf_health_proto protoreflect.FileDescriptor
var File_protobuf_hello_world_proto protoreflect.FileDescriptor
var File_protobuf_order_proto protoreflect.FileDescriptor
var File_protobuf_ping_proto protoreflect.FileDescriptor
var File_protobuf_trading_token_proto protoreflect.FileDescriptor
var File_protobuf_user_proto protoreflect.FileDescriptor
var Health_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.Health", HandlerType: (*HealthServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Check", Handler: _Health_Check_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Watch", Handler: _Health_Watch_Handler, ServerStreams: true, }, }, Metadata: "protobuf/health.proto", }
Health_ServiceDesc is the grpc.ServiceDesc for Health service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var HelloWorldService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.HelloWorldService", HandlerType: (*HelloWorldServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "APIHelloWorld", Handler: _HelloWorldService_APIHelloWorld_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/hello-world.proto", }
HelloWorldService_ServiceDesc is the grpc.ServiceDesc for HelloWorldService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OrderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.OrderService", HandlerType: (*OrderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOrder", Handler: _OrderService_CreateOrder_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/order.proto", }
OrderService_ServiceDesc is the grpc.ServiceDesc for OrderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PingPongService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.PingPongService", HandlerType: (*PingPongServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _PingPongService_Ping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/ping.proto", }
PingPongService_ServiceDesc is the grpc.ServiceDesc for PingPongService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TradingTokenService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.TradingTokenService", HandlerType: (*TradingTokenServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "APITradingTokenAdd", Handler: _TradingTokenService_APITradingTokenAdd_Handler, }, { MethodName: "APITradingTokenUpdate", Handler: _TradingTokenService_APITradingTokenUpdate_Handler, }, { MethodName: "TradingTokenCollectorList", Handler: _TradingTokenService_TradingTokenCollectorList_Handler, }, { MethodName: "ApplyTradingToken", Handler: _TradingTokenService_ApplyTradingToken_Handler, }, { MethodName: "CancelTradingToken", Handler: _TradingTokenService_CancelTradingToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/trading-token.proto", }
TradingTokenService_ServiceDesc is the grpc.ServiceDesc for TradingTokenService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ApiMailVerifyCode", Handler: _UserService_ApiMailVerifyCode_Handler, }, { MethodName: "ApiRegister", Handler: _UserService_ApiRegister_Handler, }, { MethodName: "ApiLogin", Handler: _UserService_ApiLogin_Handler, }, { MethodName: "ApiLogout", Handler: _UserService_ApiLogout_Handler, }, { MethodName: "ApiResetPwd", Handler: _UserService_ApiResetPwd_Handler, }, { MethodName: "ApiResetPwdNoLogin", Handler: _UserService_ApiResetPwdNoLogin_Handler, }, { MethodName: "ApiUpdateUserInfo", Handler: _UserService_ApiUpdateUserInfo_Handler, }, { MethodName: "ApiProxyApply", Handler: _UserService_ApiProxyApply_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterBaseServiceServer ¶
func RegisterBaseServiceServer(s grpc.ServiceRegistrar, srv BaseServiceServer)
func RegisterCollectorServiceServer ¶
func RegisterCollectorServiceServer(s grpc.ServiceRegistrar, srv CollectorServiceServer)
func RegisterCurrencyServiceHandler ¶
func RegisterCurrencyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCurrencyServiceHandler registers the http handlers for service CurrencyService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCurrencyServiceHandlerClient ¶
func RegisterCurrencyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CurrencyServiceClient) error
RegisterCurrencyServiceHandlerClient registers the http handlers for service CurrencyService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CurrencyServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CurrencyServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CurrencyServiceClient" to call the correct interceptors.
func RegisterCurrencyServiceHandlerFromEndpoint ¶
func RegisterCurrencyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCurrencyServiceHandlerFromEndpoint is same as RegisterCurrencyServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCurrencyServiceHandlerServer ¶
func RegisterCurrencyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CurrencyServiceServer) error
RegisterCurrencyServiceHandlerServer registers the http handlers for service CurrencyService to "mux". UnaryRPC :call CurrencyServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCurrencyServiceHandlerFromEndpoint instead.
func RegisterCurrencyServiceServer ¶
func RegisterCurrencyServiceServer(s grpc.ServiceRegistrar, srv CurrencyServiceServer)
func RegisterHealthServer ¶
func RegisterHealthServer(s grpc.ServiceRegistrar, srv HealthServer)
func RegisterHelloWorldServiceHandler ¶
func RegisterHelloWorldServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterHelloWorldServiceHandler registers the http handlers for service HelloWorldService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterHelloWorldServiceHandlerClient ¶
func RegisterHelloWorldServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HelloWorldServiceClient) error
RegisterHelloWorldServiceHandlerClient registers the http handlers for service HelloWorldService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "HelloWorldServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "HelloWorldServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "HelloWorldServiceClient" to call the correct interceptors.
func RegisterHelloWorldServiceHandlerFromEndpoint ¶
func RegisterHelloWorldServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterHelloWorldServiceHandlerFromEndpoint is same as RegisterHelloWorldServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterHelloWorldServiceHandlerServer ¶
func RegisterHelloWorldServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HelloWorldServiceServer) error
RegisterHelloWorldServiceHandlerServer registers the http handlers for service HelloWorldService to "mux". UnaryRPC :call HelloWorldServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterHelloWorldServiceHandlerFromEndpoint instead.
func RegisterHelloWorldServiceServer ¶
func RegisterHelloWorldServiceServer(s grpc.ServiceRegistrar, srv HelloWorldServiceServer)
func RegisterOrderServiceServer ¶
func RegisterOrderServiceServer(s grpc.ServiceRegistrar, srv OrderServiceServer)
func RegisterPingPongServiceServer ¶
func RegisterPingPongServiceServer(s grpc.ServiceRegistrar, srv PingPongServiceServer)
func RegisterTradingTokenServiceHandler ¶
func RegisterTradingTokenServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTradingTokenServiceHandler registers the http handlers for service TradingTokenService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTradingTokenServiceHandlerClient ¶
func RegisterTradingTokenServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TradingTokenServiceClient) error
RegisterTradingTokenServiceHandlerClient registers the http handlers for service TradingTokenService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TradingTokenServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TradingTokenServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TradingTokenServiceClient" to call the correct interceptors.
func RegisterTradingTokenServiceHandlerFromEndpoint ¶
func RegisterTradingTokenServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTradingTokenServiceHandlerFromEndpoint is same as RegisterTradingTokenServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTradingTokenServiceHandlerServer ¶
func RegisterTradingTokenServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TradingTokenServiceServer) error
RegisterTradingTokenServiceHandlerServer registers the http handlers for service TradingTokenService to "mux". UnaryRPC :call TradingTokenServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTradingTokenServiceHandlerFromEndpoint instead.
func RegisterTradingTokenServiceServer ¶
func RegisterTradingTokenServiceServer(s grpc.ServiceRegistrar, srv TradingTokenServiceServer)
func RegisterUserServiceHandler ¶
func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserServiceHandlerClient ¶
func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.
func RegisterUserServiceHandlerFromEndpoint ¶
func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserServiceHandlerServer ¶
func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead.
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type APICurrencyDetailReply ¶
type APICurrencyDetailReply struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *Currency `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*APICurrencyDetailReply) Descriptor
deprecated
func (*APICurrencyDetailReply) Descriptor() ([]byte, []int)
Deprecated: Use APICurrencyDetailReply.ProtoReflect.Descriptor instead.
func (*APICurrencyDetailReply) GetCode ¶
func (x *APICurrencyDetailReply) GetCode() uint64
func (*APICurrencyDetailReply) GetData ¶
func (x *APICurrencyDetailReply) GetData() *Currency
func (*APICurrencyDetailReply) GetMessage ¶
func (x *APICurrencyDetailReply) GetMessage() string
func (*APICurrencyDetailReply) ProtoMessage ¶
func (*APICurrencyDetailReply) ProtoMessage()
func (*APICurrencyDetailReply) ProtoReflect ¶
func (x *APICurrencyDetailReply) ProtoReflect() protoreflect.Message
func (*APICurrencyDetailReply) Reset ¶
func (x *APICurrencyDetailReply) Reset()
func (*APICurrencyDetailReply) String ¶
func (x *APICurrencyDetailReply) String() string
func (*APICurrencyDetailReply) Validate ¶
func (m *APICurrencyDetailReply) Validate() error
Validate checks the field values on APICurrencyDetailReply 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 (*APICurrencyDetailReply) ValidateAll ¶
func (m *APICurrencyDetailReply) ValidateAll() error
ValidateAll checks the field values on APICurrencyDetailReply 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 APICurrencyDetailReplyMultiError, or nil if none found.
type APICurrencyDetailReplyMultiError ¶
type APICurrencyDetailReplyMultiError []error
APICurrencyDetailReplyMultiError is an error wrapping multiple validation errors returned by APICurrencyDetailReply.ValidateAll() if the designated constraints aren't met.
func (APICurrencyDetailReplyMultiError) AllErrors ¶
func (m APICurrencyDetailReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (APICurrencyDetailReplyMultiError) Error ¶
func (m APICurrencyDetailReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type APICurrencyDetailReplyValidationError ¶
type APICurrencyDetailReplyValidationError struct {
// contains filtered or unexported fields
}
APICurrencyDetailReplyValidationError is the validation error returned by APICurrencyDetailReply.Validate if the designated constraints aren't met.
func (APICurrencyDetailReplyValidationError) Cause ¶
func (e APICurrencyDetailReplyValidationError) Cause() error
Cause function returns cause value.
func (APICurrencyDetailReplyValidationError) Error ¶
func (e APICurrencyDetailReplyValidationError) Error() string
Error satisfies the builtin error interface
func (APICurrencyDetailReplyValidationError) ErrorName ¶
func (e APICurrencyDetailReplyValidationError) ErrorName() string
ErrorName returns error name.
func (APICurrencyDetailReplyValidationError) Field ¶
func (e APICurrencyDetailReplyValidationError) Field() string
Field function returns field value.
func (APICurrencyDetailReplyValidationError) Key ¶
func (e APICurrencyDetailReplyValidationError) Key() bool
Key function returns key value.
func (APICurrencyDetailReplyValidationError) Reason ¶
func (e APICurrencyDetailReplyValidationError) Reason() string
Reason function returns reason value.
type APICurrencyDetailRequest ¶
type APICurrencyDetailRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*APICurrencyDetailRequest) Descriptor
deprecated
func (*APICurrencyDetailRequest) Descriptor() ([]byte, []int)
Deprecated: Use APICurrencyDetailRequest.ProtoReflect.Descriptor instead.
func (*APICurrencyDetailRequest) GetId ¶
func (x *APICurrencyDetailRequest) GetId() int64
func (*APICurrencyDetailRequest) ProtoMessage ¶
func (*APICurrencyDetailRequest) ProtoMessage()
func (*APICurrencyDetailRequest) ProtoReflect ¶
func (x *APICurrencyDetailRequest) ProtoReflect() protoreflect.Message
func (*APICurrencyDetailRequest) Reset ¶
func (x *APICurrencyDetailRequest) Reset()
func (*APICurrencyDetailRequest) String ¶
func (x *APICurrencyDetailRequest) String() string
func (*APICurrencyDetailRequest) Validate ¶
func (m *APICurrencyDetailRequest) Validate() error
Validate checks the field values on APICurrencyDetailRequest 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 (*APICurrencyDetailRequest) ValidateAll ¶
func (m *APICurrencyDetailRequest) ValidateAll() error
ValidateAll checks the field values on APICurrencyDetailRequest 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 APICurrencyDetailRequestMultiError, or nil if none found.
type APICurrencyDetailRequestMultiError ¶
type APICurrencyDetailRequestMultiError []error
APICurrencyDetailRequestMultiError is an error wrapping multiple validation errors returned by APICurrencyDetailRequest.ValidateAll() if the designated constraints aren't met.
func (APICurrencyDetailRequestMultiError) AllErrors ¶
func (m APICurrencyDetailRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (APICurrencyDetailRequestMultiError) Error ¶
func (m APICurrencyDetailRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type APICurrencyDetailRequestValidationError ¶
type APICurrencyDetailRequestValidationError struct {
// contains filtered or unexported fields
}
APICurrencyDetailRequestValidationError is the validation error returned by APICurrencyDetailRequest.Validate if the designated constraints aren't met.
func (APICurrencyDetailRequestValidationError) Cause ¶
func (e APICurrencyDetailRequestValidationError) Cause() error
Cause function returns cause value.
func (APICurrencyDetailRequestValidationError) Error ¶
func (e APICurrencyDetailRequestValidationError) Error() string
Error satisfies the builtin error interface
func (APICurrencyDetailRequestValidationError) ErrorName ¶
func (e APICurrencyDetailRequestValidationError) ErrorName() string
ErrorName returns error name.
func (APICurrencyDetailRequestValidationError) Field ¶
func (e APICurrencyDetailRequestValidationError) Field() string
Field function returns field value.
func (APICurrencyDetailRequestValidationError) Key ¶
func (e APICurrencyDetailRequestValidationError) Key() bool
Key function returns key value.
func (APICurrencyDetailRequestValidationError) Reason ¶
func (e APICurrencyDetailRequestValidationError) Reason() string
Reason function returns reason value.
type APITradingTokenAddRequest ¶
type APITradingTokenAddRequest struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` CurrencyId int64 `protobuf:"varint,2,opt,name=currency_id,json=currencyId,proto3" json:"currency_id,omitempty"` // contains filtered or unexported fields }
func (*APITradingTokenAddRequest) Descriptor
deprecated
func (*APITradingTokenAddRequest) Descriptor() ([]byte, []int)
Deprecated: Use APITradingTokenAddRequest.ProtoReflect.Descriptor instead.
func (*APITradingTokenAddRequest) GetCurrencyId ¶
func (x *APITradingTokenAddRequest) GetCurrencyId() int64
func (*APITradingTokenAddRequest) GetExchange ¶
func (x *APITradingTokenAddRequest) GetExchange() string
func (*APITradingTokenAddRequest) ProtoMessage ¶
func (*APITradingTokenAddRequest) ProtoMessage()
func (*APITradingTokenAddRequest) ProtoReflect ¶
func (x *APITradingTokenAddRequest) ProtoReflect() protoreflect.Message
func (*APITradingTokenAddRequest) Reset ¶
func (x *APITradingTokenAddRequest) Reset()
func (*APITradingTokenAddRequest) String ¶
func (x *APITradingTokenAddRequest) String() string
func (*APITradingTokenAddRequest) Validate ¶
func (m *APITradingTokenAddRequest) Validate() error
Validate checks the field values on APITradingTokenAddRequest 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 (*APITradingTokenAddRequest) ValidateAll ¶
func (m *APITradingTokenAddRequest) ValidateAll() error
ValidateAll checks the field values on APITradingTokenAddRequest 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 APITradingTokenAddRequestMultiError, or nil if none found.
type APITradingTokenAddRequestMultiError ¶
type APITradingTokenAddRequestMultiError []error
APITradingTokenAddRequestMultiError is an error wrapping multiple validation errors returned by APITradingTokenAddRequest.ValidateAll() if the designated constraints aren't met.
func (APITradingTokenAddRequestMultiError) AllErrors ¶
func (m APITradingTokenAddRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (APITradingTokenAddRequestMultiError) Error ¶
func (m APITradingTokenAddRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type APITradingTokenAddRequestValidationError ¶
type APITradingTokenAddRequestValidationError struct {
// contains filtered or unexported fields
}
APITradingTokenAddRequestValidationError is the validation error returned by APITradingTokenAddRequest.Validate if the designated constraints aren't met.
func (APITradingTokenAddRequestValidationError) Cause ¶
func (e APITradingTokenAddRequestValidationError) Cause() error
Cause function returns cause value.
func (APITradingTokenAddRequestValidationError) Error ¶
func (e APITradingTokenAddRequestValidationError) Error() string
Error satisfies the builtin error interface
func (APITradingTokenAddRequestValidationError) ErrorName ¶
func (e APITradingTokenAddRequestValidationError) ErrorName() string
ErrorName returns error name.
func (APITradingTokenAddRequestValidationError) Field ¶
func (e APITradingTokenAddRequestValidationError) Field() string
Field function returns field value.
func (APITradingTokenAddRequestValidationError) Key ¶
func (e APITradingTokenAddRequestValidationError) Key() bool
Key function returns key value.
func (APITradingTokenAddRequestValidationError) Reason ¶
func (e APITradingTokenAddRequestValidationError) Reason() string
Reason function returns reason value.
type APITradingTokenUpdateRequest ¶
type APITradingTokenUpdateRequest 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"` TicketTopic string `protobuf:"bytes,3,opt,name=ticket_topic,json=ticketTopic,proto3" json:"ticket_topic,omitempty"` OrderTopic string `protobuf:"bytes,4,opt,name=order_topic,json=orderTopic,proto3" json:"order_topic,omitempty"` Enable bool `protobuf:"varint,5,opt,name=enable,proto3" json:"enable,omitempty"` BuyEnable bool `protobuf:"varint,6,opt,name=buy_enable,json=buyEnable,proto3" json:"buy_enable,omitempty"` SellEnable bool `protobuf:"varint,7,opt,name=sell_enable,json=sellEnable,proto3" json:"sell_enable,omitempty"` Exchange string `protobuf:"bytes,8,opt,name=exchange,proto3" json:"exchange,omitempty"` Base string `protobuf:"bytes,9,opt,name=base,proto3" json:"base,omitempty"` Quote string `protobuf:"bytes,10,opt,name=quote,proto3" json:"quote,omitempty"` Score *int64 `protobuf:"varint,11,opt,name=score,proto3,oneof" json:"score,omitempty"` UpdatedAt *datetime.DateTime `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*APITradingTokenUpdateRequest) Descriptor
deprecated
func (*APITradingTokenUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use APITradingTokenUpdateRequest.ProtoReflect.Descriptor instead.
func (*APITradingTokenUpdateRequest) GetBase ¶
func (x *APITradingTokenUpdateRequest) GetBase() string
func (*APITradingTokenUpdateRequest) GetBuyEnable ¶
func (x *APITradingTokenUpdateRequest) GetBuyEnable() bool
func (*APITradingTokenUpdateRequest) GetEnable ¶
func (x *APITradingTokenUpdateRequest) GetEnable() bool
func (*APITradingTokenUpdateRequest) GetExchange ¶
func (x *APITradingTokenUpdateRequest) GetExchange() string
func (*APITradingTokenUpdateRequest) GetId ¶
func (x *APITradingTokenUpdateRequest) GetId() int64
func (*APITradingTokenUpdateRequest) GetOrderTopic ¶
func (x *APITradingTokenUpdateRequest) GetOrderTopic() string
func (*APITradingTokenUpdateRequest) GetQuote ¶
func (x *APITradingTokenUpdateRequest) GetQuote() string
func (*APITradingTokenUpdateRequest) GetScore ¶
func (x *APITradingTokenUpdateRequest) GetScore() int64
func (*APITradingTokenUpdateRequest) GetSellEnable ¶
func (x *APITradingTokenUpdateRequest) GetSellEnable() bool
func (*APITradingTokenUpdateRequest) GetTicketTopic ¶
func (x *APITradingTokenUpdateRequest) GetTicketTopic() string
func (*APITradingTokenUpdateRequest) GetUpdatedAt ¶
func (x *APITradingTokenUpdateRequest) GetUpdatedAt() *datetime.DateTime
func (*APITradingTokenUpdateRequest) GetUserId ¶
func (x *APITradingTokenUpdateRequest) GetUserId() int64
func (*APITradingTokenUpdateRequest) ProtoMessage ¶
func (*APITradingTokenUpdateRequest) ProtoMessage()
func (*APITradingTokenUpdateRequest) ProtoReflect ¶
func (x *APITradingTokenUpdateRequest) ProtoReflect() protoreflect.Message
func (*APITradingTokenUpdateRequest) Reset ¶
func (x *APITradingTokenUpdateRequest) Reset()
func (*APITradingTokenUpdateRequest) String ¶
func (x *APITradingTokenUpdateRequest) String() string
func (*APITradingTokenUpdateRequest) Validate ¶
func (m *APITradingTokenUpdateRequest) Validate() error
Validate checks the field values on APITradingTokenUpdateRequest 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 (*APITradingTokenUpdateRequest) ValidateAll ¶
func (m *APITradingTokenUpdateRequest) ValidateAll() error
ValidateAll checks the field values on APITradingTokenUpdateRequest 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 APITradingTokenUpdateRequestMultiError, or nil if none found.
type APITradingTokenUpdateRequestMultiError ¶
type APITradingTokenUpdateRequestMultiError []error
APITradingTokenUpdateRequestMultiError is an error wrapping multiple validation errors returned by APITradingTokenUpdateRequest.ValidateAll() if the designated constraints aren't met.
func (APITradingTokenUpdateRequestMultiError) AllErrors ¶
func (m APITradingTokenUpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (APITradingTokenUpdateRequestMultiError) Error ¶
func (m APITradingTokenUpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type APITradingTokenUpdateRequestValidationError ¶
type APITradingTokenUpdateRequestValidationError struct {
// contains filtered or unexported fields
}
APITradingTokenUpdateRequestValidationError is the validation error returned by APITradingTokenUpdateRequest.Validate if the designated constraints aren't met.
func (APITradingTokenUpdateRequestValidationError) Cause ¶
func (e APITradingTokenUpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (APITradingTokenUpdateRequestValidationError) Error ¶
func (e APITradingTokenUpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (APITradingTokenUpdateRequestValidationError) ErrorName ¶
func (e APITradingTokenUpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (APITradingTokenUpdateRequestValidationError) Field ¶
func (e APITradingTokenUpdateRequestValidationError) Field() string
Field function returns field value.
func (APITradingTokenUpdateRequestValidationError) Key ¶
func (e APITradingTokenUpdateRequestValidationError) Key() bool
Key function returns key value.
func (APITradingTokenUpdateRequestValidationError) Reason ¶
func (e APITradingTokenUpdateRequestValidationError) Reason() string
Reason function returns reason value.
type BaseServiceClient ¶
type BaseServiceClient interface { // collector get channel detail with channel name then publish message to this channel NotFound(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*Reply, error) }
BaseServiceClient is the client API for BaseService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBaseServiceClient ¶
func NewBaseServiceClient(cc grpc.ClientConnInterface) BaseServiceClient
type BaseServiceServer ¶
type BaseServiceServer interface { // collector get channel detail with channel name then publish message to this channel NotFound(context.Context, *EmptyRequest) (*Reply, error) // contains filtered or unexported methods }
BaseServiceServer is the server API for BaseService service. All implementations must embed UnimplementedBaseServiceServer for forward compatibility
type BatchInsertAndUpdateRequest ¶
type BatchInsertAndUpdateRequest struct { Inserted []*Currency `protobuf:"bytes,1,rep,name=inserted,proto3" json:"inserted,omitempty"` Updated []*Currency `protobuf:"bytes,2,rep,name=updated,proto3" json:"updated,omitempty"` // contains filtered or unexported fields }
func (*BatchInsertAndUpdateRequest) Descriptor
deprecated
func (*BatchInsertAndUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchInsertAndUpdateRequest.ProtoReflect.Descriptor instead.
func (*BatchInsertAndUpdateRequest) GetInserted ¶
func (x *BatchInsertAndUpdateRequest) GetInserted() []*Currency
func (*BatchInsertAndUpdateRequest) GetUpdated ¶
func (x *BatchInsertAndUpdateRequest) GetUpdated() []*Currency
func (*BatchInsertAndUpdateRequest) ProtoMessage ¶
func (*BatchInsertAndUpdateRequest) ProtoMessage()
func (*BatchInsertAndUpdateRequest) ProtoReflect ¶
func (x *BatchInsertAndUpdateRequest) ProtoReflect() protoreflect.Message
func (*BatchInsertAndUpdateRequest) Reset ¶
func (x *BatchInsertAndUpdateRequest) Reset()
func (*BatchInsertAndUpdateRequest) String ¶
func (x *BatchInsertAndUpdateRequest) String() string
func (*BatchInsertAndUpdateRequest) Validate ¶
func (m *BatchInsertAndUpdateRequest) Validate() error
Validate checks the field values on BatchInsertAndUpdateRequest 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 (*BatchInsertAndUpdateRequest) ValidateAll ¶
func (m *BatchInsertAndUpdateRequest) ValidateAll() error
ValidateAll checks the field values on BatchInsertAndUpdateRequest 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 BatchInsertAndUpdateRequestMultiError, or nil if none found.
type BatchInsertAndUpdateRequestMultiError ¶
type BatchInsertAndUpdateRequestMultiError []error
BatchInsertAndUpdateRequestMultiError is an error wrapping multiple validation errors returned by BatchInsertAndUpdateRequest.ValidateAll() if the designated constraints aren't met.
func (BatchInsertAndUpdateRequestMultiError) AllErrors ¶
func (m BatchInsertAndUpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchInsertAndUpdateRequestMultiError) Error ¶
func (m BatchInsertAndUpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchInsertAndUpdateRequestValidationError ¶
type BatchInsertAndUpdateRequestValidationError struct {
// contains filtered or unexported fields
}
BatchInsertAndUpdateRequestValidationError is the validation error returned by BatchInsertAndUpdateRequest.Validate if the designated constraints aren't met.
func (BatchInsertAndUpdateRequestValidationError) Cause ¶
func (e BatchInsertAndUpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (BatchInsertAndUpdateRequestValidationError) Error ¶
func (e BatchInsertAndUpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BatchInsertAndUpdateRequestValidationError) ErrorName ¶
func (e BatchInsertAndUpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BatchInsertAndUpdateRequestValidationError) Field ¶
func (e BatchInsertAndUpdateRequestValidationError) Field() string
Field function returns field value.
func (BatchInsertAndUpdateRequestValidationError) Key ¶
func (e BatchInsertAndUpdateRequestValidationError) Key() bool
Key function returns key value.
func (BatchInsertAndUpdateRequestValidationError) Reason ¶
func (e BatchInsertAndUpdateRequestValidationError) Reason() string
Reason function returns reason value.
type CollectorGetWithNameReply ¶
type CollectorGetWithNameReply struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *CollectorInfo `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CollectorGetWithNameReply) Descriptor
deprecated
func (*CollectorGetWithNameReply) Descriptor() ([]byte, []int)
Deprecated: Use CollectorGetWithNameReply.ProtoReflect.Descriptor instead.
func (*CollectorGetWithNameReply) GetCode ¶
func (x *CollectorGetWithNameReply) GetCode() uint64
func (*CollectorGetWithNameReply) GetData ¶
func (x *CollectorGetWithNameReply) GetData() *CollectorInfo
func (*CollectorGetWithNameReply) GetMessage ¶
func (x *CollectorGetWithNameReply) GetMessage() string
func (*CollectorGetWithNameReply) ProtoMessage ¶
func (*CollectorGetWithNameReply) ProtoMessage()
func (*CollectorGetWithNameReply) ProtoReflect ¶
func (x *CollectorGetWithNameReply) ProtoReflect() protoreflect.Message
func (*CollectorGetWithNameReply) Reset ¶
func (x *CollectorGetWithNameReply) Reset()
func (*CollectorGetWithNameReply) String ¶
func (x *CollectorGetWithNameReply) String() string
func (*CollectorGetWithNameReply) Validate ¶
func (m *CollectorGetWithNameReply) Validate() error
Validate checks the field values on CollectorGetWithNameReply 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 (*CollectorGetWithNameReply) ValidateAll ¶
func (m *CollectorGetWithNameReply) ValidateAll() error
ValidateAll checks the field values on CollectorGetWithNameReply 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 CollectorGetWithNameReplyMultiError, or nil if none found.
type CollectorGetWithNameReplyMultiError ¶
type CollectorGetWithNameReplyMultiError []error
CollectorGetWithNameReplyMultiError is an error wrapping multiple validation errors returned by CollectorGetWithNameReply.ValidateAll() if the designated constraints aren't met.
func (CollectorGetWithNameReplyMultiError) AllErrors ¶
func (m CollectorGetWithNameReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CollectorGetWithNameReplyMultiError) Error ¶
func (m CollectorGetWithNameReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CollectorGetWithNameReplyValidationError ¶
type CollectorGetWithNameReplyValidationError struct {
// contains filtered or unexported fields
}
CollectorGetWithNameReplyValidationError is the validation error returned by CollectorGetWithNameReply.Validate if the designated constraints aren't met.
func (CollectorGetWithNameReplyValidationError) Cause ¶
func (e CollectorGetWithNameReplyValidationError) Cause() error
Cause function returns cause value.
func (CollectorGetWithNameReplyValidationError) Error ¶
func (e CollectorGetWithNameReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CollectorGetWithNameReplyValidationError) ErrorName ¶
func (e CollectorGetWithNameReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CollectorGetWithNameReplyValidationError) Field ¶
func (e CollectorGetWithNameReplyValidationError) Field() string
Field function returns field value.
func (CollectorGetWithNameReplyValidationError) Key ¶
func (e CollectorGetWithNameReplyValidationError) Key() bool
Key function returns key value.
func (CollectorGetWithNameReplyValidationError) Reason ¶
func (e CollectorGetWithNameReplyValidationError) Reason() string
Reason function returns reason value.
type CollectorGetWithNameRequest ¶
type CollectorGetWithNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CollectorGetWithNameRequest) Descriptor
deprecated
func (*CollectorGetWithNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectorGetWithNameRequest.ProtoReflect.Descriptor instead.
func (*CollectorGetWithNameRequest) GetName ¶
func (x *CollectorGetWithNameRequest) GetName() string
func (*CollectorGetWithNameRequest) ProtoMessage ¶
func (*CollectorGetWithNameRequest) ProtoMessage()
func (*CollectorGetWithNameRequest) ProtoReflect ¶
func (x *CollectorGetWithNameRequest) ProtoReflect() protoreflect.Message
func (*CollectorGetWithNameRequest) Reset ¶
func (x *CollectorGetWithNameRequest) Reset()
func (*CollectorGetWithNameRequest) String ¶
func (x *CollectorGetWithNameRequest) String() string
func (*CollectorGetWithNameRequest) Validate ¶
func (m *CollectorGetWithNameRequest) Validate() error
Validate checks the field values on CollectorGetWithNameRequest 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 (*CollectorGetWithNameRequest) ValidateAll ¶
func (m *CollectorGetWithNameRequest) ValidateAll() error
ValidateAll checks the field values on CollectorGetWithNameRequest 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 CollectorGetWithNameRequestMultiError, or nil if none found.
type CollectorGetWithNameRequestMultiError ¶
type CollectorGetWithNameRequestMultiError []error
CollectorGetWithNameRequestMultiError is an error wrapping multiple validation errors returned by CollectorGetWithNameRequest.ValidateAll() if the designated constraints aren't met.
func (CollectorGetWithNameRequestMultiError) AllErrors ¶
func (m CollectorGetWithNameRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CollectorGetWithNameRequestMultiError) Error ¶
func (m CollectorGetWithNameRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CollectorGetWithNameRequestValidationError ¶
type CollectorGetWithNameRequestValidationError struct {
// contains filtered or unexported fields
}
CollectorGetWithNameRequestValidationError is the validation error returned by CollectorGetWithNameRequest.Validate if the designated constraints aren't met.
func (CollectorGetWithNameRequestValidationError) Cause ¶
func (e CollectorGetWithNameRequestValidationError) Cause() error
Cause function returns cause value.
func (CollectorGetWithNameRequestValidationError) Error ¶
func (e CollectorGetWithNameRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CollectorGetWithNameRequestValidationError) ErrorName ¶
func (e CollectorGetWithNameRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CollectorGetWithNameRequestValidationError) Field ¶
func (e CollectorGetWithNameRequestValidationError) Field() string
Field function returns field value.
func (CollectorGetWithNameRequestValidationError) Key ¶
func (e CollectorGetWithNameRequestValidationError) Key() bool
Key function returns key value.
func (CollectorGetWithNameRequestValidationError) Reason ¶
func (e CollectorGetWithNameRequestValidationError) Reason() string
Reason function returns reason value.
type CollectorInfo ¶
type CollectorInfo struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Exchange string `protobuf:"bytes,2,opt,name=exchange,proto3" json:"exchange,omitempty"` Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` Status uint32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` RegisterAt *datetime.DateTime `protobuf:"bytes,6,opt,name=register_at,json=registerAt,proto3" json:"register_at,omitempty"` LastLoginAt *datetime.DateTime `protobuf:"bytes,7,opt,name=last_login_at,json=lastLoginAt,proto3" json:"last_login_at,omitempty"` CreatedAt *datetime.DateTime `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *datetime.DateTime `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*CollectorInfo) Descriptor
deprecated
func (*CollectorInfo) Descriptor() ([]byte, []int)
Deprecated: Use CollectorInfo.ProtoReflect.Descriptor instead.
func (*CollectorInfo) GetCreatedAt ¶
func (x *CollectorInfo) GetCreatedAt() *datetime.DateTime
func (*CollectorInfo) GetExchange ¶
func (x *CollectorInfo) GetExchange() string
func (*CollectorInfo) GetHost ¶
func (x *CollectorInfo) GetHost() string
func (*CollectorInfo) GetId ¶
func (x *CollectorInfo) GetId() int64
func (*CollectorInfo) GetLastLoginAt ¶
func (x *CollectorInfo) GetLastLoginAt() *datetime.DateTime
func (*CollectorInfo) GetPort ¶
func (x *CollectorInfo) GetPort() uint32
func (*CollectorInfo) GetRegisterAt ¶
func (x *CollectorInfo) GetRegisterAt() *datetime.DateTime
func (*CollectorInfo) GetStatus ¶
func (x *CollectorInfo) GetStatus() uint32
func (*CollectorInfo) GetUpdatedAt ¶
func (x *CollectorInfo) GetUpdatedAt() *datetime.DateTime
func (*CollectorInfo) ProtoMessage ¶
func (*CollectorInfo) ProtoMessage()
func (*CollectorInfo) ProtoReflect ¶
func (x *CollectorInfo) ProtoReflect() protoreflect.Message
func (*CollectorInfo) Reset ¶
func (x *CollectorInfo) Reset()
func (*CollectorInfo) String ¶
func (x *CollectorInfo) String() string
func (*CollectorInfo) Validate ¶
func (m *CollectorInfo) Validate() error
Validate checks the field values on CollectorInfo 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 (*CollectorInfo) ValidateAll ¶
func (m *CollectorInfo) ValidateAll() error
ValidateAll checks the field values on CollectorInfo 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 CollectorInfoMultiError, or nil if none found.
type CollectorInfoMultiError ¶
type CollectorInfoMultiError []error
CollectorInfoMultiError is an error wrapping multiple validation errors returned by CollectorInfo.ValidateAll() if the designated constraints aren't met.
func (CollectorInfoMultiError) AllErrors ¶
func (m CollectorInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CollectorInfoMultiError) Error ¶
func (m CollectorInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CollectorInfoValidationError ¶
type CollectorInfoValidationError struct {
// contains filtered or unexported fields
}
CollectorInfoValidationError is the validation error returned by CollectorInfo.Validate if the designated constraints aren't met.
func (CollectorInfoValidationError) Cause ¶
func (e CollectorInfoValidationError) Cause() error
Cause function returns cause value.
func (CollectorInfoValidationError) Error ¶
func (e CollectorInfoValidationError) Error() string
Error satisfies the builtin error interface
func (CollectorInfoValidationError) ErrorName ¶
func (e CollectorInfoValidationError) ErrorName() string
ErrorName returns error name.
func (CollectorInfoValidationError) Field ¶
func (e CollectorInfoValidationError) Field() string
Field function returns field value.
func (CollectorInfoValidationError) Key ¶
func (e CollectorInfoValidationError) Key() bool
Key function returns key value.
func (CollectorInfoValidationError) Reason ¶
func (e CollectorInfoValidationError) Reason() string
Reason function returns reason value.
type CollectorReply ¶
type CollectorReply struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CollectorReply) Descriptor
deprecated
func (*CollectorReply) Descriptor() ([]byte, []int)
Deprecated: Use CollectorReply.ProtoReflect.Descriptor instead.
func (*CollectorReply) GetCode ¶
func (x *CollectorReply) GetCode() uint64
func (*CollectorReply) GetData ¶
func (x *CollectorReply) GetData() *anypb.Any
func (*CollectorReply) GetMessage ¶
func (x *CollectorReply) GetMessage() string
func (*CollectorReply) ProtoMessage ¶
func (*CollectorReply) ProtoMessage()
func (*CollectorReply) ProtoReflect ¶
func (x *CollectorReply) ProtoReflect() protoreflect.Message
func (*CollectorReply) Reset ¶
func (x *CollectorReply) Reset()
func (*CollectorReply) String ¶
func (x *CollectorReply) String() string
func (*CollectorReply) Validate ¶
func (m *CollectorReply) Validate() error
Validate checks the field values on CollectorReply 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 (*CollectorReply) ValidateAll ¶
func (m *CollectorReply) ValidateAll() error
ValidateAll checks the field values on CollectorReply 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 CollectorReplyMultiError, or nil if none found.
type CollectorReplyMultiError ¶
type CollectorReplyMultiError []error
CollectorReplyMultiError is an error wrapping multiple validation errors returned by CollectorReply.ValidateAll() if the designated constraints aren't met.
func (CollectorReplyMultiError) AllErrors ¶
func (m CollectorReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CollectorReplyMultiError) Error ¶
func (m CollectorReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CollectorReplyValidationError ¶
type CollectorReplyValidationError struct {
// contains filtered or unexported fields
}
CollectorReplyValidationError is the validation error returned by CollectorReply.Validate if the designated constraints aren't met.
func (CollectorReplyValidationError) Cause ¶
func (e CollectorReplyValidationError) Cause() error
Cause function returns cause value.
func (CollectorReplyValidationError) Error ¶
func (e CollectorReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CollectorReplyValidationError) ErrorName ¶
func (e CollectorReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CollectorReplyValidationError) Field ¶
func (e CollectorReplyValidationError) Field() string
Field function returns field value.
func (CollectorReplyValidationError) Key ¶
func (e CollectorReplyValidationError) Key() bool
Key function returns key value.
func (CollectorReplyValidationError) Reason ¶
func (e CollectorReplyValidationError) Reason() string
Reason function returns reason value.
type CollectorRequest ¶
type CollectorRequest struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*CollectorRequest) Descriptor
deprecated
func (*CollectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectorRequest.ProtoReflect.Descriptor instead.
func (*CollectorRequest) GetExchange ¶
func (x *CollectorRequest) GetExchange() string
func (*CollectorRequest) GetHost ¶
func (x *CollectorRequest) GetHost() string
func (*CollectorRequest) GetPort ¶
func (x *CollectorRequest) GetPort() uint32
func (*CollectorRequest) ProtoMessage ¶
func (*CollectorRequest) ProtoMessage()
func (*CollectorRequest) ProtoReflect ¶
func (x *CollectorRequest) ProtoReflect() protoreflect.Message
func (*CollectorRequest) Reset ¶
func (x *CollectorRequest) Reset()
func (*CollectorRequest) String ¶
func (x *CollectorRequest) String() string
func (*CollectorRequest) Validate ¶
func (m *CollectorRequest) Validate() error
Validate checks the field values on CollectorRequest 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 (*CollectorRequest) ValidateAll ¶
func (m *CollectorRequest) ValidateAll() error
ValidateAll checks the field values on CollectorRequest 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 CollectorRequestMultiError, or nil if none found.
type CollectorRequestMultiError ¶
type CollectorRequestMultiError []error
CollectorRequestMultiError is an error wrapping multiple validation errors returned by CollectorRequest.ValidateAll() if the designated constraints aren't met.
func (CollectorRequestMultiError) AllErrors ¶
func (m CollectorRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CollectorRequestMultiError) Error ¶
func (m CollectorRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CollectorRequestValidationError ¶
type CollectorRequestValidationError struct {
// contains filtered or unexported fields
}
CollectorRequestValidationError is the validation error returned by CollectorRequest.Validate if the designated constraints aren't met.
func (CollectorRequestValidationError) Cause ¶
func (e CollectorRequestValidationError) Cause() error
Cause function returns cause value.
func (CollectorRequestValidationError) Error ¶
func (e CollectorRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CollectorRequestValidationError) ErrorName ¶
func (e CollectorRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CollectorRequestValidationError) Field ¶
func (e CollectorRequestValidationError) Field() string
Field function returns field value.
func (CollectorRequestValidationError) Key ¶
func (e CollectorRequestValidationError) Key() bool
Key function returns key value.
func (CollectorRequestValidationError) Reason ¶
func (e CollectorRequestValidationError) Reason() string
Reason function returns reason value.
type CollectorServiceClient ¶
type CollectorServiceClient interface { // grider service Register(ctx context.Context, in *CollectorRequest, opts ...grpc.CallOption) (*CollectorReply, error) // grider service Login(ctx context.Context, in *CollectorRequest, opts ...grpc.CallOption) (*CollectorReply, error) // grider service Logout(ctx context.Context, in *CollectorRequest, opts ...grpc.CallOption) (*CollectorReply, error) // grider service GetWithName(ctx context.Context, in *CollectorGetWithNameRequest, opts ...grpc.CallOption) (*CollectorGetWithNameReply, error) }
CollectorServiceClient is the client API for CollectorService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCollectorServiceClient ¶
func NewCollectorServiceClient(cc grpc.ClientConnInterface) CollectorServiceClient
type CollectorServiceServer ¶
type CollectorServiceServer interface { // grider service Register(context.Context, *CollectorRequest) (*CollectorReply, error) // grider service Login(context.Context, *CollectorRequest) (*CollectorReply, error) // grider service Logout(context.Context, *CollectorRequest) (*CollectorReply, error) // grider service GetWithName(context.Context, *CollectorGetWithNameRequest) (*CollectorGetWithNameReply, error) // contains filtered or unexported methods }
CollectorServiceServer is the server API for CollectorService service. All implementations must embed UnimplementedCollectorServiceServer for forward compatibility
type CollectorTradingTokenInfo ¶
type CollectorTradingTokenInfo struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` Quote string `protobuf:"bytes,3,opt,name=quote,proto3" json:"quote,omitempty"` Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` TicketTopic string `protobuf:"bytes,5,opt,name=ticket_topic,json=ticketTopic,proto3" json:"ticket_topic,omitempty"` OrderTopic string `protobuf:"bytes,6,opt,name=order_topic,json=orderTopic,proto3" json:"order_topic,omitempty"` ExtraInfo []byte `protobuf:"bytes,7,opt,name=extra_info,json=extraInfo,proto3,oneof" json:"extra_info,omitempty"` // contains filtered or unexported fields }
func (*CollectorTradingTokenInfo) Descriptor
deprecated
func (*CollectorTradingTokenInfo) Descriptor() ([]byte, []int)
Deprecated: Use CollectorTradingTokenInfo.ProtoReflect.Descriptor instead.
func (*CollectorTradingTokenInfo) GetBase ¶
func (x *CollectorTradingTokenInfo) GetBase() string
func (*CollectorTradingTokenInfo) GetCount ¶
func (x *CollectorTradingTokenInfo) GetCount() int64
func (*CollectorTradingTokenInfo) GetExchange ¶
func (x *CollectorTradingTokenInfo) GetExchange() string
func (*CollectorTradingTokenInfo) GetExtraInfo ¶
func (x *CollectorTradingTokenInfo) GetExtraInfo() []byte
func (*CollectorTradingTokenInfo) GetOrderTopic ¶
func (x *CollectorTradingTokenInfo) GetOrderTopic() string
func (*CollectorTradingTokenInfo) GetQuote ¶
func (x *CollectorTradingTokenInfo) GetQuote() string
func (*CollectorTradingTokenInfo) GetTicketTopic ¶
func (x *CollectorTradingTokenInfo) GetTicketTopic() string
func (*CollectorTradingTokenInfo) ProtoMessage ¶
func (*CollectorTradingTokenInfo) ProtoMessage()
func (*CollectorTradingTokenInfo) ProtoReflect ¶
func (x *CollectorTradingTokenInfo) ProtoReflect() protoreflect.Message
func (*CollectorTradingTokenInfo) Reset ¶
func (x *CollectorTradingTokenInfo) Reset()
func (*CollectorTradingTokenInfo) String ¶
func (x *CollectorTradingTokenInfo) String() string
func (*CollectorTradingTokenInfo) Validate ¶
func (m *CollectorTradingTokenInfo) Validate() error
Validate checks the field values on CollectorTradingTokenInfo 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 (*CollectorTradingTokenInfo) ValidateAll ¶
func (m *CollectorTradingTokenInfo) ValidateAll() error
ValidateAll checks the field values on CollectorTradingTokenInfo 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 CollectorTradingTokenInfoMultiError, or nil if none found.
type CollectorTradingTokenInfoMultiError ¶
type CollectorTradingTokenInfoMultiError []error
CollectorTradingTokenInfoMultiError is an error wrapping multiple validation errors returned by CollectorTradingTokenInfo.ValidateAll() if the designated constraints aren't met.
func (CollectorTradingTokenInfoMultiError) AllErrors ¶
func (m CollectorTradingTokenInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CollectorTradingTokenInfoMultiError) Error ¶
func (m CollectorTradingTokenInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CollectorTradingTokenInfoValidationError ¶
type CollectorTradingTokenInfoValidationError struct {
// contains filtered or unexported fields
}
CollectorTradingTokenInfoValidationError is the validation error returned by CollectorTradingTokenInfo.Validate if the designated constraints aren't met.
func (CollectorTradingTokenInfoValidationError) Cause ¶
func (e CollectorTradingTokenInfoValidationError) Cause() error
Cause function returns cause value.
func (CollectorTradingTokenInfoValidationError) Error ¶
func (e CollectorTradingTokenInfoValidationError) Error() string
Error satisfies the builtin error interface
func (CollectorTradingTokenInfoValidationError) ErrorName ¶
func (e CollectorTradingTokenInfoValidationError) ErrorName() string
ErrorName returns error name.
func (CollectorTradingTokenInfoValidationError) Field ¶
func (e CollectorTradingTokenInfoValidationError) Field() string
Field function returns field value.
func (CollectorTradingTokenInfoValidationError) Key ¶
func (e CollectorTradingTokenInfoValidationError) Key() bool
Key function returns key value.
func (CollectorTradingTokenInfoValidationError) Reason ¶
func (e CollectorTradingTokenInfoValidationError) Reason() string
Reason function returns reason value.
type CreateOrderReply ¶
type CreateOrderReply struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 交易所返回的订单id CreateTime string `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 交易成功时间 Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // 订单状态 Base string `protobuf:"bytes,4,opt,name=base,proto3" json:"base,omitempty"` // 交易币种 Quote string `protobuf:"bytes,5,opt,name=quote,proto3" json:"quote,omitempty"` // 计价币种 Side string `protobuf:"bytes,6,opt,name=side,proto3" json:"side,omitempty"` // 买/卖 Amount string `protobuf:"bytes,7,opt,name=amount,proto3" json:"amount,omitempty"` // 成交量 Price string `protobuf:"bytes,8,opt,name=price,proto3" json:"price,omitempty"` // 成交价格 Fee string `protobuf:"bytes,9,opt,name=fee,proto3" json:"fee,omitempty"` // 佣金 CashAmount string `protobuf:"bytes,10,opt,name=cash_amount,json=cashAmount,proto3" json:"cash_amount,omitempty"` // 实际得到/花费的金额:成交量*成交价-佣金 Data []byte `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"` // 交易所返回的原始数据 // contains filtered or unexported fields }
func (*CreateOrderReply) Descriptor
deprecated
func (*CreateOrderReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrderReply.ProtoReflect.Descriptor instead.
func (*CreateOrderReply) GetAmount ¶
func (x *CreateOrderReply) GetAmount() string
func (*CreateOrderReply) GetBase ¶
func (x *CreateOrderReply) GetBase() string
func (*CreateOrderReply) GetCashAmount ¶
func (x *CreateOrderReply) GetCashAmount() string
func (*CreateOrderReply) GetCreateTime ¶
func (x *CreateOrderReply) GetCreateTime() string
func (*CreateOrderReply) GetData ¶
func (x *CreateOrderReply) GetData() []byte
func (*CreateOrderReply) GetFee ¶
func (x *CreateOrderReply) GetFee() string
func (*CreateOrderReply) GetId ¶
func (x *CreateOrderReply) GetId() string
func (*CreateOrderReply) GetPrice ¶
func (x *CreateOrderReply) GetPrice() string
func (*CreateOrderReply) GetQuote ¶
func (x *CreateOrderReply) GetQuote() string
func (*CreateOrderReply) GetSide ¶
func (x *CreateOrderReply) GetSide() string
func (*CreateOrderReply) GetStatus ¶
func (x *CreateOrderReply) GetStatus() string
func (*CreateOrderReply) ProtoMessage ¶
func (*CreateOrderReply) ProtoMessage()
func (*CreateOrderReply) ProtoReflect ¶
func (x *CreateOrderReply) ProtoReflect() protoreflect.Message
func (*CreateOrderReply) Reset ¶
func (x *CreateOrderReply) Reset()
func (*CreateOrderReply) String ¶
func (x *CreateOrderReply) String() string
func (*CreateOrderReply) Validate ¶
func (m *CreateOrderReply) Validate() error
Validate checks the field values on CreateOrderReply 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 (*CreateOrderReply) ValidateAll ¶
func (m *CreateOrderReply) ValidateAll() error
ValidateAll checks the field values on CreateOrderReply 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 CreateOrderReplyMultiError, or nil if none found.
type CreateOrderReplyMultiError ¶
type CreateOrderReplyMultiError []error
CreateOrderReplyMultiError is an error wrapping multiple validation errors returned by CreateOrderReply.ValidateAll() if the designated constraints aren't met.
func (CreateOrderReplyMultiError) AllErrors ¶
func (m CreateOrderReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrderReplyMultiError) Error ¶
func (m CreateOrderReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrderReplyValidationError ¶
type CreateOrderReplyValidationError struct {
// contains filtered or unexported fields
}
CreateOrderReplyValidationError is the validation error returned by CreateOrderReply.Validate if the designated constraints aren't met.
func (CreateOrderReplyValidationError) Cause ¶
func (e CreateOrderReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateOrderReplyValidationError) Error ¶
func (e CreateOrderReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrderReplyValidationError) ErrorName ¶
func (e CreateOrderReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrderReplyValidationError) Field ¶
func (e CreateOrderReplyValidationError) Field() string
Field function returns field value.
func (CreateOrderReplyValidationError) Key ¶
func (e CreateOrderReplyValidationError) Key() bool
Key function returns key value.
func (CreateOrderReplyValidationError) Reason ¶
func (e CreateOrderReplyValidationError) Reason() string
Reason function returns reason value.
type CreateOrderRequest ¶
type CreateOrderRequest struct { Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"` // 交易所 Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` // 交易token Quote string `protobuf:"bytes,3,opt,name=quote,proto3" json:"quote,omitempty"` // 计价币种 Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // 数量 Price string `protobuf:"bytes,5,opt,name=price,proto3" json:"price,omitempty"` // 价格 Side string `protobuf:"bytes,6,opt,name=side,proto3" json:"side,omitempty"` // 买,卖? OrderId string `protobuf:"bytes,7,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // 关联id Other []byte `protobuf:"bytes,8,opt,name=other,proto3" json:"other,omitempty"` // 附加信息:因交易所有所区别而导致的传参数不一致的情况 // contains filtered or unexported fields }
func (*CreateOrderRequest) Descriptor
deprecated
func (*CreateOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrderRequest.ProtoReflect.Descriptor instead.
func (*CreateOrderRequest) GetAmount ¶
func (x *CreateOrderRequest) GetAmount() string
func (*CreateOrderRequest) GetBase ¶
func (x *CreateOrderRequest) GetBase() string
func (*CreateOrderRequest) GetExchange ¶
func (x *CreateOrderRequest) GetExchange() string
func (*CreateOrderRequest) GetOrderId ¶
func (x *CreateOrderRequest) GetOrderId() string
func (*CreateOrderRequest) GetOther ¶
func (x *CreateOrderRequest) GetOther() []byte
func (*CreateOrderRequest) GetPrice ¶
func (x *CreateOrderRequest) GetPrice() string
func (*CreateOrderRequest) GetQuote ¶
func (x *CreateOrderRequest) GetQuote() string
func (*CreateOrderRequest) GetSide ¶
func (x *CreateOrderRequest) GetSide() string
func (*CreateOrderRequest) ProtoMessage ¶
func (*CreateOrderRequest) ProtoMessage()
func (*CreateOrderRequest) ProtoReflect ¶
func (x *CreateOrderRequest) ProtoReflect() protoreflect.Message
func (*CreateOrderRequest) Reset ¶
func (x *CreateOrderRequest) Reset()
func (*CreateOrderRequest) String ¶
func (x *CreateOrderRequest) String() string
func (*CreateOrderRequest) Validate ¶
func (m *CreateOrderRequest) Validate() error
Validate checks the field values on CreateOrderRequest 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 (*CreateOrderRequest) ValidateAll ¶
func (m *CreateOrderRequest) ValidateAll() error
ValidateAll checks the field values on CreateOrderRequest 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 CreateOrderRequestMultiError, or nil if none found.
type CreateOrderRequestMultiError ¶
type CreateOrderRequestMultiError []error
CreateOrderRequestMultiError is an error wrapping multiple validation errors returned by CreateOrderRequest.ValidateAll() if the designated constraints aren't met.
func (CreateOrderRequestMultiError) AllErrors ¶
func (m CreateOrderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrderRequestMultiError) Error ¶
func (m CreateOrderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrderRequestValidationError ¶
type CreateOrderRequestValidationError struct {
// contains filtered or unexported fields
}
CreateOrderRequestValidationError is the validation error returned by CreateOrderRequest.Validate if the designated constraints aren't met.
func (CreateOrderRequestValidationError) Cause ¶
func (e CreateOrderRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateOrderRequestValidationError) Error ¶
func (e CreateOrderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrderRequestValidationError) ErrorName ¶
func (e CreateOrderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrderRequestValidationError) Field ¶
func (e CreateOrderRequestValidationError) Field() string
Field function returns field value.
func (CreateOrderRequestValidationError) Key ¶
func (e CreateOrderRequestValidationError) Key() bool
Key function returns key value.
func (CreateOrderRequestValidationError) Reason ¶
func (e CreateOrderRequestValidationError) Reason() string
Reason function returns reason value.
type Currency ¶
type Currency struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Exchange string `protobuf:"bytes,2,opt,name=exchange,proto3" json:"exchange,omitempty"` Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"` Quote string `protobuf:"bytes,4,opt,name=quote,proto3" json:"quote,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,6,opt,name=symbol,proto3" json:"symbol,omitempty"` ExtraInfo []byte `protobuf:"bytes,7,opt,name=extra_info,json=extraInfo,proto3,oneof" json:"extra_info,omitempty"` Status CurrencyStatus `protobuf:"varint,8,opt,name=status,proto3,enum=protobuf.CurrencyStatus" json:"status,omitempty"` Taker *string `protobuf:"bytes,9,opt,name=taker,proto3,oneof" json:"taker,omitempty"` Maker *string `protobuf:"bytes,10,opt,name=maker,proto3,oneof" json:"maker,omitempty"` PricePrecision *int32 `protobuf:"varint,11,opt,name=price_precision,json=pricePrecision,proto3,oneof" json:"price_precision,omitempty"` AmountPrecision *int32 `protobuf:"varint,12,opt,name=amount_precision,json=amountPrecision,proto3,oneof" json:"amount_precision,omitempty"` ValuePrecision *int32 `protobuf:"varint,13,opt,name=value_precision,json=valuePrecision,proto3,oneof" json:"value_precision,omitempty"` Raw []byte `protobuf:"bytes,14,opt,name=raw,proto3" json:"raw,omitempty"` MinBaseAmount *int32 `protobuf:"varint,15,opt,name=min_base_amount,json=minBaseAmount,proto3,oneof" json:"min_base_amount,omitempty"` MinQuoteAmount *int32 `protobuf:"varint,16,opt,name=min_quote_amount,json=minQuoteAmount,proto3,oneof" json:"min_quote_amount,omitempty"` CreatedAt *datetime.DateTime `protobuf:"bytes,17,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *datetime.DateTime `protobuf:"bytes,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Currency) Descriptor
deprecated
func (*Currency) GetAmountPrecision ¶
func (*Currency) GetCreatedAt ¶
func (*Currency) GetExchange ¶
func (*Currency) GetExtraInfo ¶
func (*Currency) GetMinBaseAmount ¶
func (*Currency) GetMinQuoteAmount ¶
func (*Currency) GetPricePrecision ¶
func (*Currency) GetStatus ¶
func (x *Currency) GetStatus() CurrencyStatus
func (*Currency) GetUpdatedAt ¶
func (*Currency) GetValuePrecision ¶
func (*Currency) ProtoMessage ¶
func (*Currency) ProtoMessage()
func (*Currency) ProtoReflect ¶
func (x *Currency) ProtoReflect() protoreflect.Message
func (*Currency) Validate ¶
Validate checks the field values on Currency 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 (*Currency) ValidateAll ¶
ValidateAll checks the field values on Currency 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 CurrencyMultiError, or nil if none found.
type CurrencyListReply ¶
type CurrencyListReply struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []*Currency `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` Total *uint64 `protobuf:"varint,4,opt,name=total,proto3,oneof" json:"total,omitempty"` Page *uint64 `protobuf:"varint,5,opt,name=page,proto3,oneof" json:"page,omitempty"` PageSize *uint64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*CurrencyListReply) Descriptor
deprecated
func (*CurrencyListReply) Descriptor() ([]byte, []int)
Deprecated: Use CurrencyListReply.ProtoReflect.Descriptor instead.
func (*CurrencyListReply) GetCode ¶
func (x *CurrencyListReply) GetCode() uint64
func (*CurrencyListReply) GetData ¶
func (x *CurrencyListReply) GetData() []*Currency
func (*CurrencyListReply) GetMessage ¶
func (x *CurrencyListReply) GetMessage() string
func (*CurrencyListReply) GetPage ¶
func (x *CurrencyListReply) GetPage() uint64
func (*CurrencyListReply) GetPageSize ¶
func (x *CurrencyListReply) GetPageSize() uint64
func (*CurrencyListReply) GetTotal ¶
func (x *CurrencyListReply) GetTotal() uint64
func (*CurrencyListReply) ProtoMessage ¶
func (*CurrencyListReply) ProtoMessage()
func (*CurrencyListReply) ProtoReflect ¶
func (x *CurrencyListReply) ProtoReflect() protoreflect.Message
func (*CurrencyListReply) Reset ¶
func (x *CurrencyListReply) Reset()
func (*CurrencyListReply) String ¶
func (x *CurrencyListReply) String() string
func (*CurrencyListReply) Validate ¶
func (m *CurrencyListReply) Validate() error
Validate checks the field values on CurrencyListReply 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 (*CurrencyListReply) ValidateAll ¶
func (m *CurrencyListReply) ValidateAll() error
ValidateAll checks the field values on CurrencyListReply 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 CurrencyListReplyMultiError, or nil if none found.
type CurrencyListReplyMultiError ¶
type CurrencyListReplyMultiError []error
CurrencyListReplyMultiError is an error wrapping multiple validation errors returned by CurrencyListReply.ValidateAll() if the designated constraints aren't met.
func (CurrencyListReplyMultiError) AllErrors ¶
func (m CurrencyListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CurrencyListReplyMultiError) Error ¶
func (m CurrencyListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CurrencyListReplyValidationError ¶
type CurrencyListReplyValidationError struct {
// contains filtered or unexported fields
}
CurrencyListReplyValidationError is the validation error returned by CurrencyListReply.Validate if the designated constraints aren't met.
func (CurrencyListReplyValidationError) Cause ¶
func (e CurrencyListReplyValidationError) Cause() error
Cause function returns cause value.
func (CurrencyListReplyValidationError) Error ¶
func (e CurrencyListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CurrencyListReplyValidationError) ErrorName ¶
func (e CurrencyListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CurrencyListReplyValidationError) Field ¶
func (e CurrencyListReplyValidationError) Field() string
Field function returns field value.
func (CurrencyListReplyValidationError) Key ¶
func (e CurrencyListReplyValidationError) Key() bool
Key function returns key value.
func (CurrencyListReplyValidationError) Reason ¶
func (e CurrencyListReplyValidationError) Reason() string
Reason function returns reason value.
type CurrencyListRequest ¶
type CurrencyListRequest struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Collector string `protobuf:"bytes,3,opt,name=collector,proto3" json:"collector,omitempty"` Status CurrencyStatus `protobuf:"varint,4,opt,name=status,proto3,enum=protobuf.CurrencyStatus" json:"status,omitempty"` Base string `protobuf:"bytes,5,opt,name=base,proto3" json:"base,omitempty"` Quote string `protobuf:"bytes,6,opt,name=quote,proto3" json:"quote,omitempty"` ScoreMin int64 `protobuf:"varint,7,opt,name=score_min,json=scoreMin,proto3" json:"score_min,omitempty"` ScoreMax int64 `protobuf:"varint,8,opt,name=score_max,json=scoreMax,proto3" json:"score_max,omitempty"` // contains filtered or unexported fields }
func (*CurrencyListRequest) Descriptor
deprecated
func (*CurrencyListRequest) Descriptor() ([]byte, []int)
Deprecated: Use CurrencyListRequest.ProtoReflect.Descriptor instead.
func (*CurrencyListRequest) GetBase ¶
func (x *CurrencyListRequest) GetBase() string
func (*CurrencyListRequest) GetCollector ¶
func (x *CurrencyListRequest) GetCollector() string
func (*CurrencyListRequest) GetPage ¶
func (x *CurrencyListRequest) GetPage() uint64
func (*CurrencyListRequest) GetPageSize ¶
func (x *CurrencyListRequest) GetPageSize() uint64
func (*CurrencyListRequest) GetQuote ¶
func (x *CurrencyListRequest) GetQuote() string
func (*CurrencyListRequest) GetScoreMax ¶
func (x *CurrencyListRequest) GetScoreMax() int64
func (*CurrencyListRequest) GetScoreMin ¶
func (x *CurrencyListRequest) GetScoreMin() int64
func (*CurrencyListRequest) GetStatus ¶
func (x *CurrencyListRequest) GetStatus() CurrencyStatus
func (*CurrencyListRequest) ProtoMessage ¶
func (*CurrencyListRequest) ProtoMessage()
func (*CurrencyListRequest) ProtoReflect ¶
func (x *CurrencyListRequest) ProtoReflect() protoreflect.Message
func (*CurrencyListRequest) Reset ¶
func (x *CurrencyListRequest) Reset()
func (*CurrencyListRequest) String ¶
func (x *CurrencyListRequest) String() string
func (*CurrencyListRequest) Validate ¶
func (m *CurrencyListRequest) Validate() error
Validate checks the field values on CurrencyListRequest 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 (*CurrencyListRequest) ValidateAll ¶
func (m *CurrencyListRequest) ValidateAll() error
ValidateAll checks the field values on CurrencyListRequest 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 CurrencyListRequestMultiError, or nil if none found.
type CurrencyListRequestMultiError ¶
type CurrencyListRequestMultiError []error
CurrencyListRequestMultiError is an error wrapping multiple validation errors returned by CurrencyListRequest.ValidateAll() if the designated constraints aren't met.
func (CurrencyListRequestMultiError) AllErrors ¶
func (m CurrencyListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CurrencyListRequestMultiError) Error ¶
func (m CurrencyListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CurrencyListRequestValidationError ¶
type CurrencyListRequestValidationError struct {
// contains filtered or unexported fields
}
CurrencyListRequestValidationError is the validation error returned by CurrencyListRequest.Validate if the designated constraints aren't met.
func (CurrencyListRequestValidationError) Cause ¶
func (e CurrencyListRequestValidationError) Cause() error
Cause function returns cause value.
func (CurrencyListRequestValidationError) Error ¶
func (e CurrencyListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CurrencyListRequestValidationError) ErrorName ¶
func (e CurrencyListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CurrencyListRequestValidationError) Field ¶
func (e CurrencyListRequestValidationError) Field() string
Field function returns field value.
func (CurrencyListRequestValidationError) Key ¶
func (e CurrencyListRequestValidationError) Key() bool
Key function returns key value.
func (CurrencyListRequestValidationError) Reason ¶
func (e CurrencyListRequestValidationError) Reason() string
Reason function returns reason value.
type CurrencyMultiError ¶
type CurrencyMultiError []error
CurrencyMultiError is an error wrapping multiple validation errors returned by Currency.ValidateAll() if the designated constraints aren't met.
func (CurrencyMultiError) AllErrors ¶
func (m CurrencyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CurrencyMultiError) Error ¶
func (m CurrencyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CurrencyServiceClient ¶
type CurrencyServiceClient interface { // grider rpc insert or update BatchInsertOrUpdate(ctx context.Context, in *BatchInsertAndUpdateRequest, opts ...grpc.CallOption) (*Reply, error) // grider rpc list for web api and collector List(ctx context.Context, in *CurrencyListRequest, opts ...grpc.CallOption) (*CurrencyListReply, error) // grider rpc detail for web api Detail(ctx context.Context, in *APICurrencyDetailRequest, opts ...grpc.CallOption) (*APICurrencyDetailReply, error) }
CurrencyServiceClient is the client API for CurrencyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCurrencyServiceClient ¶
func NewCurrencyServiceClient(cc grpc.ClientConnInterface) CurrencyServiceClient
type CurrencyServiceServer ¶
type CurrencyServiceServer interface { // grider rpc insert or update BatchInsertOrUpdate(context.Context, *BatchInsertAndUpdateRequest) (*Reply, error) // grider rpc list for web api and collector List(context.Context, *CurrencyListRequest) (*CurrencyListReply, error) // grider rpc detail for web api Detail(context.Context, *APICurrencyDetailRequest) (*APICurrencyDetailReply, error) // contains filtered or unexported methods }
CurrencyServiceServer is the server API for CurrencyService service. All implementations must embed UnimplementedCurrencyServiceServer for forward compatibility
type CurrencyStatus ¶
type CurrencyStatus int32
const ( CurrencyStatus_unknown CurrencyStatus = 0 CurrencyStatus_enabled CurrencyStatus = 1 CurrencyStatus_disabled CurrencyStatus = 2 CurrencyStatus_buy_disabled CurrencyStatus = 3 CurrencyStatus_sell_disabled CurrencyStatus = 4 )
func (CurrencyStatus) Descriptor ¶
func (CurrencyStatus) Descriptor() protoreflect.EnumDescriptor
func (CurrencyStatus) Enum ¶
func (x CurrencyStatus) Enum() *CurrencyStatus
func (CurrencyStatus) EnumDescriptor
deprecated
func (CurrencyStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use CurrencyStatus.Descriptor instead.
func (CurrencyStatus) Number ¶
func (x CurrencyStatus) Number() protoreflect.EnumNumber
func (CurrencyStatus) String ¶
func (x CurrencyStatus) String() string
func (CurrencyStatus) Type ¶
func (CurrencyStatus) Type() protoreflect.EnumType
type CurrencyValidationError ¶
type CurrencyValidationError struct {
// contains filtered or unexported fields
}
CurrencyValidationError is the validation error returned by Currency.Validate if the designated constraints aren't met.
func (CurrencyValidationError) Cause ¶
func (e CurrencyValidationError) Cause() error
Cause function returns cause value.
func (CurrencyValidationError) Error ¶
func (e CurrencyValidationError) Error() string
Error satisfies the builtin error interface
func (CurrencyValidationError) ErrorName ¶
func (e CurrencyValidationError) ErrorName() string
ErrorName returns error name.
func (CurrencyValidationError) Field ¶
func (e CurrencyValidationError) Field() string
Field function returns field value.
func (CurrencyValidationError) Key ¶
func (e CurrencyValidationError) Key() bool
Key function returns key value.
func (CurrencyValidationError) Reason ¶
func (e CurrencyValidationError) Reason() string
Reason function returns reason value.
type EmptyRequest ¶
type EmptyRequest struct {
// contains filtered or unexported fields
}
func (*EmptyRequest) Descriptor
deprecated
func (*EmptyRequest) Descriptor() ([]byte, []int)
Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
func (*EmptyRequest) ProtoMessage ¶
func (*EmptyRequest) ProtoMessage()
func (*EmptyRequest) ProtoReflect ¶
func (x *EmptyRequest) ProtoReflect() protoreflect.Message
func (*EmptyRequest) Reset ¶
func (x *EmptyRequest) Reset()
func (*EmptyRequest) String ¶
func (x *EmptyRequest) String() string
func (*EmptyRequest) Validate ¶
func (m *EmptyRequest) Validate() error
Validate checks the field values on EmptyRequest 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 (*EmptyRequest) ValidateAll ¶
func (m *EmptyRequest) ValidateAll() error
ValidateAll checks the field values on EmptyRequest 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 EmptyRequestMultiError, or nil if none found.
type EmptyRequestMultiError ¶
type EmptyRequestMultiError []error
EmptyRequestMultiError is an error wrapping multiple validation errors returned by EmptyRequest.ValidateAll() if the designated constraints aren't met.
func (EmptyRequestMultiError) AllErrors ¶
func (m EmptyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmptyRequestMultiError) Error ¶
func (m EmptyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmptyRequestValidationError ¶
type EmptyRequestValidationError struct {
// contains filtered or unexported fields
}
EmptyRequestValidationError is the validation error returned by EmptyRequest.Validate if the designated constraints aren't met.
func (EmptyRequestValidationError) Cause ¶
func (e EmptyRequestValidationError) Cause() error
Cause function returns cause value.
func (EmptyRequestValidationError) Error ¶
func (e EmptyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyRequestValidationError) ErrorName ¶
func (e EmptyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyRequestValidationError) Field ¶
func (e EmptyRequestValidationError) Field() string
Field function returns field value.
func (EmptyRequestValidationError) Key ¶
func (e EmptyRequestValidationError) Key() bool
Key function returns key value.
func (EmptyRequestValidationError) Reason ¶
func (e EmptyRequestValidationError) Reason() string
Reason function returns reason value.
type HealthCheckReply ¶
type HealthCheckReply struct { Status HealthCheckReply_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=protobuf.HealthCheckReply_ServingStatus" json:"status,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*HealthCheckReply) Descriptor
deprecated
func (*HealthCheckReply) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckReply.ProtoReflect.Descriptor instead.
func (*HealthCheckReply) GetMessage ¶
func (x *HealthCheckReply) GetMessage() string
func (*HealthCheckReply) GetStatus ¶
func (x *HealthCheckReply) GetStatus() HealthCheckReply_ServingStatus
func (*HealthCheckReply) ProtoMessage ¶
func (*HealthCheckReply) ProtoMessage()
func (*HealthCheckReply) ProtoReflect ¶
func (x *HealthCheckReply) ProtoReflect() protoreflect.Message
func (*HealthCheckReply) Reset ¶
func (x *HealthCheckReply) Reset()
func (*HealthCheckReply) String ¶
func (x *HealthCheckReply) String() string
func (*HealthCheckReply) Validate ¶
func (m *HealthCheckReply) Validate() error
Validate checks the field values on HealthCheckReply 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 (*HealthCheckReply) ValidateAll ¶
func (m *HealthCheckReply) ValidateAll() error
ValidateAll checks the field values on HealthCheckReply 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 HealthCheckReplyMultiError, or nil if none found.
type HealthCheckReplyMultiError ¶
type HealthCheckReplyMultiError []error
HealthCheckReplyMultiError is an error wrapping multiple validation errors returned by HealthCheckReply.ValidateAll() if the designated constraints aren't met.
func (HealthCheckReplyMultiError) AllErrors ¶
func (m HealthCheckReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HealthCheckReplyMultiError) Error ¶
func (m HealthCheckReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HealthCheckReplyValidationError ¶
type HealthCheckReplyValidationError struct {
// contains filtered or unexported fields
}
HealthCheckReplyValidationError is the validation error returned by HealthCheckReply.Validate if the designated constraints aren't met.
func (HealthCheckReplyValidationError) Cause ¶
func (e HealthCheckReplyValidationError) Cause() error
Cause function returns cause value.
func (HealthCheckReplyValidationError) Error ¶
func (e HealthCheckReplyValidationError) Error() string
Error satisfies the builtin error interface
func (HealthCheckReplyValidationError) ErrorName ¶
func (e HealthCheckReplyValidationError) ErrorName() string
ErrorName returns error name.
func (HealthCheckReplyValidationError) Field ¶
func (e HealthCheckReplyValidationError) Field() string
Field function returns field value.
func (HealthCheckReplyValidationError) Key ¶
func (e HealthCheckReplyValidationError) Key() bool
Key function returns key value.
func (HealthCheckReplyValidationError) Reason ¶
func (e HealthCheckReplyValidationError) Reason() string
Reason function returns reason value.
type HealthCheckReply_ServingStatus ¶
type HealthCheckReply_ServingStatus int32
const ( HealthCheckReply_UNKNOWN HealthCheckReply_ServingStatus = 0 HealthCheckReply_SERVING HealthCheckReply_ServingStatus = 1 HealthCheckReply_NOT_SERVING HealthCheckReply_ServingStatus = 2 HealthCheckReply_SERVICE_UNKNOWN HealthCheckReply_ServingStatus = 3 // Used only by the Watch method. )
func (HealthCheckReply_ServingStatus) Descriptor ¶
func (HealthCheckReply_ServingStatus) Descriptor() protoreflect.EnumDescriptor
func (HealthCheckReply_ServingStatus) Enum ¶
func (x HealthCheckReply_ServingStatus) Enum() *HealthCheckReply_ServingStatus
func (HealthCheckReply_ServingStatus) EnumDescriptor
deprecated
func (HealthCheckReply_ServingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthCheckReply_ServingStatus.Descriptor instead.
func (HealthCheckReply_ServingStatus) Number ¶
func (x HealthCheckReply_ServingStatus) Number() protoreflect.EnumNumber
func (HealthCheckReply_ServingStatus) String ¶
func (x HealthCheckReply_ServingStatus) String() string
func (HealthCheckReply_ServingStatus) Type ¶
func (HealthCheckReply_ServingStatus) Type() protoreflect.EnumType
type HealthCheckRequest ¶
type HealthCheckRequest struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) GetService ¶
func (x *HealthCheckRequest) GetService() string
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
func (*HealthCheckRequest) Validate ¶
func (m *HealthCheckRequest) Validate() error
Validate checks the field values on HealthCheckRequest 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 (*HealthCheckRequest) ValidateAll ¶
func (m *HealthCheckRequest) ValidateAll() error
ValidateAll checks the field values on HealthCheckRequest 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 HealthCheckRequestMultiError, or nil if none found.
type HealthCheckRequestMultiError ¶
type HealthCheckRequestMultiError []error
HealthCheckRequestMultiError is an error wrapping multiple validation errors returned by HealthCheckRequest.ValidateAll() if the designated constraints aren't met.
func (HealthCheckRequestMultiError) AllErrors ¶
func (m HealthCheckRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HealthCheckRequestMultiError) Error ¶
func (m HealthCheckRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HealthCheckRequestValidationError ¶
type HealthCheckRequestValidationError struct {
// contains filtered or unexported fields
}
HealthCheckRequestValidationError is the validation error returned by HealthCheckRequest.Validate if the designated constraints aren't met.
func (HealthCheckRequestValidationError) Cause ¶
func (e HealthCheckRequestValidationError) Cause() error
Cause function returns cause value.
func (HealthCheckRequestValidationError) Error ¶
func (e HealthCheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HealthCheckRequestValidationError) ErrorName ¶
func (e HealthCheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HealthCheckRequestValidationError) Field ¶
func (e HealthCheckRequestValidationError) Field() string
Field function returns field value.
func (HealthCheckRequestValidationError) Key ¶
func (e HealthCheckRequestValidationError) Key() bool
Key function returns key value.
func (HealthCheckRequestValidationError) Reason ¶
func (e HealthCheckRequestValidationError) Reason() string
Reason function returns reason value.
type HealthClient ¶
type HealthClient interface { Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckReply, error) Watch(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (Health_WatchClient, error) }
HealthClient is the client API for Health service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHealthClient ¶
func NewHealthClient(cc grpc.ClientConnInterface) HealthClient
type HealthServer ¶
type HealthServer interface { Check(context.Context, *HealthCheckRequest) (*HealthCheckReply, error) Watch(*HealthCheckRequest, Health_WatchServer) error // contains filtered or unexported methods }
HealthServer is the server API for Health service. All implementations must embed UnimplementedHealthServer for forward compatibility
type Health_WatchClient ¶
type Health_WatchClient interface { Recv() (*HealthCheckReply, error) grpc.ClientStream }
type Health_WatchServer ¶
type Health_WatchServer interface { Send(*HealthCheckReply) error grpc.ServerStream }
type HelloWorldReply ¶
type HelloWorldReply struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *string `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*HelloWorldReply) Descriptor
deprecated
func (*HelloWorldReply) Descriptor() ([]byte, []int)
Deprecated: Use HelloWorldReply.ProtoReflect.Descriptor instead.
func (*HelloWorldReply) GetCode ¶
func (x *HelloWorldReply) GetCode() int64
func (*HelloWorldReply) GetData ¶
func (x *HelloWorldReply) GetData() string
func (*HelloWorldReply) GetMessage ¶
func (x *HelloWorldReply) GetMessage() string
func (*HelloWorldReply) ProtoMessage ¶
func (*HelloWorldReply) ProtoMessage()
func (*HelloWorldReply) ProtoReflect ¶
func (x *HelloWorldReply) ProtoReflect() protoreflect.Message
func (*HelloWorldReply) Reset ¶
func (x *HelloWorldReply) Reset()
func (*HelloWorldReply) String ¶
func (x *HelloWorldReply) String() string
func (*HelloWorldReply) Validate ¶
func (m *HelloWorldReply) Validate() error
Validate checks the field values on HelloWorldReply 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 (*HelloWorldReply) ValidateAll ¶
func (m *HelloWorldReply) ValidateAll() error
ValidateAll checks the field values on HelloWorldReply 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 HelloWorldReplyMultiError, or nil if none found.
type HelloWorldReplyMultiError ¶
type HelloWorldReplyMultiError []error
HelloWorldReplyMultiError is an error wrapping multiple validation errors returned by HelloWorldReply.ValidateAll() if the designated constraints aren't met.
func (HelloWorldReplyMultiError) AllErrors ¶
func (m HelloWorldReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HelloWorldReplyMultiError) Error ¶
func (m HelloWorldReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HelloWorldReplyValidationError ¶
type HelloWorldReplyValidationError struct {
// contains filtered or unexported fields
}
HelloWorldReplyValidationError is the validation error returned by HelloWorldReply.Validate if the designated constraints aren't met.
func (HelloWorldReplyValidationError) Cause ¶
func (e HelloWorldReplyValidationError) Cause() error
Cause function returns cause value.
func (HelloWorldReplyValidationError) Error ¶
func (e HelloWorldReplyValidationError) Error() string
Error satisfies the builtin error interface
func (HelloWorldReplyValidationError) ErrorName ¶
func (e HelloWorldReplyValidationError) ErrorName() string
ErrorName returns error name.
func (HelloWorldReplyValidationError) Field ¶
func (e HelloWorldReplyValidationError) Field() string
Field function returns field value.
func (HelloWorldReplyValidationError) Key ¶
func (e HelloWorldReplyValidationError) Key() bool
Key function returns key value.
func (HelloWorldReplyValidationError) Reason ¶
func (e HelloWorldReplyValidationError) Reason() string
Reason function returns reason value.
type HelloWorldRequest ¶
type HelloWorldRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*HelloWorldRequest) Descriptor
deprecated
func (*HelloWorldRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelloWorldRequest.ProtoReflect.Descriptor instead.
func (*HelloWorldRequest) GetName ¶
func (x *HelloWorldRequest) GetName() string
func (*HelloWorldRequest) ProtoMessage ¶
func (*HelloWorldRequest) ProtoMessage()
func (*HelloWorldRequest) ProtoReflect ¶
func (x *HelloWorldRequest) ProtoReflect() protoreflect.Message
func (*HelloWorldRequest) Reset ¶
func (x *HelloWorldRequest) Reset()
func (*HelloWorldRequest) String ¶
func (x *HelloWorldRequest) String() string
func (*HelloWorldRequest) Validate ¶
func (m *HelloWorldRequest) Validate() error
Validate checks the field values on HelloWorldRequest 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 (*HelloWorldRequest) ValidateAll ¶
func (m *HelloWorldRequest) ValidateAll() error
ValidateAll checks the field values on HelloWorldRequest 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 HelloWorldRequestMultiError, or nil if none found.
type HelloWorldRequestMultiError ¶
type HelloWorldRequestMultiError []error
HelloWorldRequestMultiError is an error wrapping multiple validation errors returned by HelloWorldRequest.ValidateAll() if the designated constraints aren't met.
func (HelloWorldRequestMultiError) AllErrors ¶
func (m HelloWorldRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HelloWorldRequestMultiError) Error ¶
func (m HelloWorldRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HelloWorldRequestValidationError ¶
type HelloWorldRequestValidationError struct {
// contains filtered or unexported fields
}
HelloWorldRequestValidationError is the validation error returned by HelloWorldRequest.Validate if the designated constraints aren't met.
func (HelloWorldRequestValidationError) Cause ¶
func (e HelloWorldRequestValidationError) Cause() error
Cause function returns cause value.
func (HelloWorldRequestValidationError) Error ¶
func (e HelloWorldRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HelloWorldRequestValidationError) ErrorName ¶
func (e HelloWorldRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HelloWorldRequestValidationError) Field ¶
func (e HelloWorldRequestValidationError) Field() string
Field function returns field value.
func (HelloWorldRequestValidationError) Key ¶
func (e HelloWorldRequestValidationError) Key() bool
Key function returns key value.
func (HelloWorldRequestValidationError) Reason ¶
func (e HelloWorldRequestValidationError) Reason() string
Reason function returns reason value.
type HelloWorldServiceClient ¶
type HelloWorldServiceClient interface {
APIHelloWorld(ctx context.Context, in *HelloWorldRequest, opts ...grpc.CallOption) (*HelloWorldReply, error)
}
HelloWorldServiceClient is the client API for HelloWorldService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHelloWorldServiceClient ¶
func NewHelloWorldServiceClient(cc grpc.ClientConnInterface) HelloWorldServiceClient
type HelloWorldServiceServer ¶
type HelloWorldServiceServer interface { APIHelloWorld(context.Context, *HelloWorldRequest) (*HelloWorldReply, error) // contains filtered or unexported methods }
HelloWorldServiceServer is the server API for HelloWorldService service. All implementations must embed UnimplementedHelloWorldServiceServer for forward compatibility
type LoginInfo ¶
type LoginInfo struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` NickName string `protobuf:"bytes,2,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*LoginInfo) Descriptor
deprecated
func (*LoginInfo) GetNickName ¶
func (*LoginInfo) ProtoMessage ¶
func (*LoginInfo) ProtoMessage()
func (*LoginInfo) ProtoReflect ¶
func (x *LoginInfo) ProtoReflect() protoreflect.Message
func (*LoginInfo) Validate ¶
Validate checks the field values on LoginInfo 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 (*LoginInfo) ValidateAll ¶
ValidateAll checks the field values on LoginInfo 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 LoginInfoMultiError, or nil if none found.
type LoginInfoMultiError ¶
type LoginInfoMultiError []error
LoginInfoMultiError is an error wrapping multiple validation errors returned by LoginInfo.ValidateAll() if the designated constraints aren't met.
func (LoginInfoMultiError) AllErrors ¶
func (m LoginInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginInfoMultiError) Error ¶
func (m LoginInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginInfoValidationError ¶
type LoginInfoValidationError struct {
// contains filtered or unexported fields
}
LoginInfoValidationError is the validation error returned by LoginInfo.Validate if the designated constraints aren't met.
func (LoginInfoValidationError) Cause ¶
func (e LoginInfoValidationError) Cause() error
Cause function returns cause value.
func (LoginInfoValidationError) Error ¶
func (e LoginInfoValidationError) Error() string
Error satisfies the builtin error interface
func (LoginInfoValidationError) ErrorName ¶
func (e LoginInfoValidationError) ErrorName() string
ErrorName returns error name.
func (LoginInfoValidationError) Field ¶
func (e LoginInfoValidationError) Field() string
Field function returns field value.
func (LoginInfoValidationError) Key ¶
func (e LoginInfoValidationError) Key() bool
Key function returns key value.
func (LoginInfoValidationError) Reason ¶
func (e LoginInfoValidationError) Reason() string
Reason function returns reason value.
type LoginReply ¶
type LoginReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *LoginInfo `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*LoginReply) Descriptor
deprecated
func (*LoginReply) Descriptor() ([]byte, []int)
Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.
func (*LoginReply) GetCode ¶
func (x *LoginReply) GetCode() int32
func (*LoginReply) GetData ¶
func (x *LoginReply) GetData() *LoginInfo
func (*LoginReply) GetMessage ¶
func (x *LoginReply) GetMessage() string
func (*LoginReply) ProtoMessage ¶
func (*LoginReply) ProtoMessage()
func (*LoginReply) ProtoReflect ¶
func (x *LoginReply) ProtoReflect() protoreflect.Message
func (*LoginReply) Reset ¶
func (x *LoginReply) Reset()
func (*LoginReply) String ¶
func (x *LoginReply) String() string
func (*LoginReply) Validate ¶
func (m *LoginReply) Validate() error
Validate checks the field values on LoginReply 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 (*LoginReply) ValidateAll ¶
func (m *LoginReply) ValidateAll() error
ValidateAll checks the field values on LoginReply 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 LoginReplyMultiError, or nil if none found.
type LoginReplyMultiError ¶
type LoginReplyMultiError []error
LoginReplyMultiError is an error wrapping multiple validation errors returned by LoginReply.ValidateAll() if the designated constraints aren't met.
func (LoginReplyMultiError) AllErrors ¶
func (m LoginReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginReplyMultiError) Error ¶
func (m LoginReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginReplyValidationError ¶
type LoginReplyValidationError struct {
// contains filtered or unexported fields
}
LoginReplyValidationError is the validation error returned by LoginReply.Validate if the designated constraints aren't met.
func (LoginReplyValidationError) Cause ¶
func (e LoginReplyValidationError) Cause() error
Cause function returns cause value.
func (LoginReplyValidationError) Error ¶
func (e LoginReplyValidationError) Error() string
Error satisfies the builtin error interface
func (LoginReplyValidationError) ErrorName ¶
func (e LoginReplyValidationError) ErrorName() string
ErrorName returns error name.
func (LoginReplyValidationError) Field ¶
func (e LoginReplyValidationError) Field() string
Field function returns field value.
func (LoginReplyValidationError) Key ¶
func (e LoginReplyValidationError) Key() bool
Key function returns key value.
func (LoginReplyValidationError) Reason ¶
func (e LoginReplyValidationError) Reason() string
Reason function returns reason value.
type LoginRequest ¶
type LoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` Email *string `protobuf:"bytes,4,opt,name=email,proto3,oneof" json:"email,omitempty"` LoginType LoginRequest_LoginType `` // email/phone/account /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetEmail ¶
func (x *LoginRequest) GetEmail() string
func (*LoginRequest) GetLoginType ¶
func (x *LoginRequest) GetLoginType() LoginRequest_LoginType
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) GetPhone ¶
func (x *LoginRequest) GetPhone() string
func (*LoginRequest) GetUsername ¶
func (x *LoginRequest) GetUsername() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
func (*LoginRequest) Validate ¶
func (m *LoginRequest) Validate() error
Validate checks the field values on LoginRequest 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 (*LoginRequest) ValidateAll ¶
func (m *LoginRequest) ValidateAll() error
ValidateAll checks the field values on LoginRequest 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 LoginRequestMultiError, or nil if none found.
type LoginRequestMultiError ¶
type LoginRequestMultiError []error
LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.
func (LoginRequestMultiError) AllErrors ¶
func (m LoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequestMultiError) Error ¶
func (m LoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginRequestValidationError ¶
type LoginRequestValidationError struct {
// contains filtered or unexported fields
}
LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.
func (LoginRequestValidationError) Cause ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
Reason function returns reason value.
type LoginRequest_LoginType ¶
type LoginRequest_LoginType int32
const ( LoginRequest_lt_email LoginRequest_LoginType = 0 LoginRequest_lt_phone LoginRequest_LoginType = 1 LoginRequest_lt_account LoginRequest_LoginType = 2 )
func (LoginRequest_LoginType) Descriptor ¶
func (LoginRequest_LoginType) Descriptor() protoreflect.EnumDescriptor
func (LoginRequest_LoginType) Enum ¶
func (x LoginRequest_LoginType) Enum() *LoginRequest_LoginType
func (LoginRequest_LoginType) EnumDescriptor
deprecated
func (LoginRequest_LoginType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoginRequest_LoginType.Descriptor instead.
func (LoginRequest_LoginType) Number ¶
func (x LoginRequest_LoginType) Number() protoreflect.EnumNumber
func (LoginRequest_LoginType) String ¶
func (x LoginRequest_LoginType) String() string
func (LoginRequest_LoginType) Type ¶
func (LoginRequest_LoginType) Type() protoreflect.EnumType
type MailVerifyCodeReply ¶
type MailVerifyCodeReply struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*MailVerifyCodeReply) Descriptor
deprecated
func (*MailVerifyCodeReply) Descriptor() ([]byte, []int)
Deprecated: Use MailVerifyCodeReply.ProtoReflect.Descriptor instead.
func (*MailVerifyCodeReply) GetCode ¶
func (x *MailVerifyCodeReply) GetCode() uint64
func (*MailVerifyCodeReply) GetData ¶
func (x *MailVerifyCodeReply) GetData() string
func (*MailVerifyCodeReply) GetMessage ¶
func (x *MailVerifyCodeReply) GetMessage() string
func (*MailVerifyCodeReply) ProtoMessage ¶
func (*MailVerifyCodeReply) ProtoMessage()
func (*MailVerifyCodeReply) ProtoReflect ¶
func (x *MailVerifyCodeReply) ProtoReflect() protoreflect.Message
func (*MailVerifyCodeReply) Reset ¶
func (x *MailVerifyCodeReply) Reset()
func (*MailVerifyCodeReply) String ¶
func (x *MailVerifyCodeReply) String() string
func (*MailVerifyCodeReply) Validate ¶
func (m *MailVerifyCodeReply) Validate() error
Validate checks the field values on MailVerifyCodeReply 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 (*MailVerifyCodeReply) ValidateAll ¶
func (m *MailVerifyCodeReply) ValidateAll() error
ValidateAll checks the field values on MailVerifyCodeReply 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 MailVerifyCodeReplyMultiError, or nil if none found.
type MailVerifyCodeReplyMultiError ¶
type MailVerifyCodeReplyMultiError []error
MailVerifyCodeReplyMultiError is an error wrapping multiple validation errors returned by MailVerifyCodeReply.ValidateAll() if the designated constraints aren't met.
func (MailVerifyCodeReplyMultiError) AllErrors ¶
func (m MailVerifyCodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MailVerifyCodeReplyMultiError) Error ¶
func (m MailVerifyCodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MailVerifyCodeReplyValidationError ¶
type MailVerifyCodeReplyValidationError struct {
// contains filtered or unexported fields
}
MailVerifyCodeReplyValidationError is the validation error returned by MailVerifyCodeReply.Validate if the designated constraints aren't met.
func (MailVerifyCodeReplyValidationError) Cause ¶
func (e MailVerifyCodeReplyValidationError) Cause() error
Cause function returns cause value.
func (MailVerifyCodeReplyValidationError) Error ¶
func (e MailVerifyCodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (MailVerifyCodeReplyValidationError) ErrorName ¶
func (e MailVerifyCodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (MailVerifyCodeReplyValidationError) Field ¶
func (e MailVerifyCodeReplyValidationError) Field() string
Field function returns field value.
func (MailVerifyCodeReplyValidationError) Key ¶
func (e MailVerifyCodeReplyValidationError) Key() bool
Key function returns key value.
func (MailVerifyCodeReplyValidationError) Reason ¶
func (e MailVerifyCodeReplyValidationError) Reason() string
Reason function returns reason value.
type MailVerifyCodeRequest ¶
type MailVerifyCodeRequest struct { Mail string `protobuf:"bytes,1,opt,name=mail,proto3" json:"mail,omitempty"` Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` Type VerifyType `protobuf:"varint,3,opt,name=type,proto3,enum=protobuf.VerifyType" json:"type,omitempty"` CodeType VerifyCodeType `protobuf:"varint,4,opt,name=code_type,json=codeType,proto3,enum=protobuf.VerifyCodeType" json:"code_type,omitempty"` Captcha string `protobuf:"bytes,5,opt,name=captcha,proto3" json:"captcha,omitempty"` // TODO 图形验证码 // contains filtered or unexported fields }
func (*MailVerifyCodeRequest) Descriptor
deprecated
func (*MailVerifyCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use MailVerifyCodeRequest.ProtoReflect.Descriptor instead.
func (*MailVerifyCodeRequest) GetCaptcha ¶
func (x *MailVerifyCodeRequest) GetCaptcha() string
func (*MailVerifyCodeRequest) GetCodeType ¶
func (x *MailVerifyCodeRequest) GetCodeType() VerifyCodeType
func (*MailVerifyCodeRequest) GetMail ¶
func (x *MailVerifyCodeRequest) GetMail() string
func (*MailVerifyCodeRequest) GetPhone ¶
func (x *MailVerifyCodeRequest) GetPhone() string
func (*MailVerifyCodeRequest) GetType ¶
func (x *MailVerifyCodeRequest) GetType() VerifyType
func (*MailVerifyCodeRequest) ProtoMessage ¶
func (*MailVerifyCodeRequest) ProtoMessage()
func (*MailVerifyCodeRequest) ProtoReflect ¶
func (x *MailVerifyCodeRequest) ProtoReflect() protoreflect.Message
func (*MailVerifyCodeRequest) Reset ¶
func (x *MailVerifyCodeRequest) Reset()
func (*MailVerifyCodeRequest) String ¶
func (x *MailVerifyCodeRequest) String() string
func (*MailVerifyCodeRequest) Validate ¶
func (m *MailVerifyCodeRequest) Validate() error
Validate checks the field values on MailVerifyCodeRequest 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 (*MailVerifyCodeRequest) ValidateAll ¶
func (m *MailVerifyCodeRequest) ValidateAll() error
ValidateAll checks the field values on MailVerifyCodeRequest 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 MailVerifyCodeRequestMultiError, or nil if none found.
type MailVerifyCodeRequestMultiError ¶
type MailVerifyCodeRequestMultiError []error
MailVerifyCodeRequestMultiError is an error wrapping multiple validation errors returned by MailVerifyCodeRequest.ValidateAll() if the designated constraints aren't met.
func (MailVerifyCodeRequestMultiError) AllErrors ¶
func (m MailVerifyCodeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MailVerifyCodeRequestMultiError) Error ¶
func (m MailVerifyCodeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MailVerifyCodeRequestValidationError ¶
type MailVerifyCodeRequestValidationError struct {
// contains filtered or unexported fields
}
MailVerifyCodeRequestValidationError is the validation error returned by MailVerifyCodeRequest.Validate if the designated constraints aren't met.
func (MailVerifyCodeRequestValidationError) Cause ¶
func (e MailVerifyCodeRequestValidationError) Cause() error
Cause function returns cause value.
func (MailVerifyCodeRequestValidationError) Error ¶
func (e MailVerifyCodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (MailVerifyCodeRequestValidationError) ErrorName ¶
func (e MailVerifyCodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (MailVerifyCodeRequestValidationError) Field ¶
func (e MailVerifyCodeRequestValidationError) Field() string
Field function returns field value.
func (MailVerifyCodeRequestValidationError) Key ¶
func (e MailVerifyCodeRequestValidationError) Key() bool
Key function returns key value.
func (MailVerifyCodeRequestValidationError) Reason ¶
func (e MailVerifyCodeRequestValidationError) Reason() string
Reason function returns reason value.
type OrderServiceClient ¶
type OrderServiceClient interface {
CreateOrder(ctx context.Context, in *CreateOrderRequest, opts ...grpc.CallOption) (*CreateOrderReply, error)
}
OrderServiceClient is the client API for OrderService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOrderServiceClient ¶
func NewOrderServiceClient(cc grpc.ClientConnInterface) OrderServiceClient
type OrderServiceServer ¶
type OrderServiceServer interface { CreateOrder(context.Context, *CreateOrderRequest) (*CreateOrderReply, error) // contains filtered or unexported methods }
OrderServiceServer is the server API for OrderService service. All implementations must embed UnimplementedOrderServiceServer for forward compatibility
type PingPongServiceClient ¶
type PingPongServiceClient interface {
Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingReply, error)
}
PingPongServiceClient is the client API for PingPongService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPingPongServiceClient ¶
func NewPingPongServiceClient(cc grpc.ClientConnInterface) PingPongServiceClient
type PingPongServiceServer ¶
type PingPongServiceServer interface { Ping(context.Context, *PingRequest) (*PingReply, error) // contains filtered or unexported methods }
PingPongServiceServer is the server API for PingPongService service. All implementations must embed UnimplementedPingPongServiceServer for forward compatibility
type PingReply ¶
type PingReply struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*PingReply) Descriptor
deprecated
func (*PingReply) ProtoMessage ¶
func (*PingReply) ProtoMessage()
func (*PingReply) ProtoReflect ¶
func (x *PingReply) ProtoReflect() protoreflect.Message
func (*PingReply) Validate ¶
Validate checks the field values on PingReply 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 (*PingReply) ValidateAll ¶
ValidateAll checks the field values on PingReply 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 PingReplyMultiError, or nil if none found.
type PingReplyMultiError ¶
type PingReplyMultiError []error
PingReplyMultiError is an error wrapping multiple validation errors returned by PingReply.ValidateAll() if the designated constraints aren't met.
func (PingReplyMultiError) AllErrors ¶
func (m PingReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingReplyMultiError) Error ¶
func (m PingReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingReplyValidationError ¶
type PingReplyValidationError struct {
// contains filtered or unexported fields
}
PingReplyValidationError is the validation error returned by PingReply.Validate if the designated constraints aren't met.
func (PingReplyValidationError) Cause ¶
func (e PingReplyValidationError) Cause() error
Cause function returns cause value.
func (PingReplyValidationError) Error ¶
func (e PingReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PingReplyValidationError) ErrorName ¶
func (e PingReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PingReplyValidationError) Field ¶
func (e PingReplyValidationError) Field() string
Field function returns field value.
func (PingReplyValidationError) Key ¶
func (e PingReplyValidationError) Key() bool
Key function returns key value.
func (PingReplyValidationError) Reason ¶
func (e PingReplyValidationError) Reason() string
Reason function returns reason value.
type PingRequest ¶
type PingRequest struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) GetValue ¶
func (x *PingRequest) GetValue() string
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
func (*PingRequest) Validate ¶
func (m *PingRequest) Validate() error
Validate checks the field values on PingRequest 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 (*PingRequest) ValidateAll ¶
func (m *PingRequest) ValidateAll() error
ValidateAll checks the field values on PingRequest 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 PingRequestMultiError, or nil if none found.
type PingRequestMultiError ¶
type PingRequestMultiError []error
PingRequestMultiError is an error wrapping multiple validation errors returned by PingRequest.ValidateAll() if the designated constraints aren't met.
func (PingRequestMultiError) AllErrors ¶
func (m PingRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingRequestMultiError) Error ¶
func (m PingRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingRequestValidationError ¶
type PingRequestValidationError struct {
// contains filtered or unexported fields
}
PingRequestValidationError is the validation error returned by PingRequest.Validate if the designated constraints aren't met.
func (PingRequestValidationError) Cause ¶
func (e PingRequestValidationError) Cause() error
Cause function returns cause value.
func (PingRequestValidationError) Error ¶
func (e PingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PingRequestValidationError) ErrorName ¶
func (e PingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PingRequestValidationError) Field ¶
func (e PingRequestValidationError) Field() string
Field function returns field value.
func (PingRequestValidationError) Key ¶
func (e PingRequestValidationError) Key() bool
Key function returns key value.
func (PingRequestValidationError) Reason ¶
func (e PingRequestValidationError) Reason() string
Reason function returns reason value.
type ProxyApplyReply ¶
type ProxyApplyReply struct {
// contains filtered or unexported fields
}
func (*ProxyApplyReply) Descriptor
deprecated
func (*ProxyApplyReply) Descriptor() ([]byte, []int)
Deprecated: Use ProxyApplyReply.ProtoReflect.Descriptor instead.
func (*ProxyApplyReply) ProtoMessage ¶
func (*ProxyApplyReply) ProtoMessage()
func (*ProxyApplyReply) ProtoReflect ¶
func (x *ProxyApplyReply) ProtoReflect() protoreflect.Message
func (*ProxyApplyReply) Reset ¶
func (x *ProxyApplyReply) Reset()
func (*ProxyApplyReply) String ¶
func (x *ProxyApplyReply) String() string
func (*ProxyApplyReply) Validate ¶
func (m *ProxyApplyReply) Validate() error
Validate checks the field values on ProxyApplyReply 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 (*ProxyApplyReply) ValidateAll ¶
func (m *ProxyApplyReply) ValidateAll() error
ValidateAll checks the field values on ProxyApplyReply 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 ProxyApplyReplyMultiError, or nil if none found.
type ProxyApplyReplyMultiError ¶
type ProxyApplyReplyMultiError []error
ProxyApplyReplyMultiError is an error wrapping multiple validation errors returned by ProxyApplyReply.ValidateAll() if the designated constraints aren't met.
func (ProxyApplyReplyMultiError) AllErrors ¶
func (m ProxyApplyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProxyApplyReplyMultiError) Error ¶
func (m ProxyApplyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProxyApplyReplyValidationError ¶
type ProxyApplyReplyValidationError struct {
// contains filtered or unexported fields
}
ProxyApplyReplyValidationError is the validation error returned by ProxyApplyReply.Validate if the designated constraints aren't met.
func (ProxyApplyReplyValidationError) Cause ¶
func (e ProxyApplyReplyValidationError) Cause() error
Cause function returns cause value.
func (ProxyApplyReplyValidationError) Error ¶
func (e ProxyApplyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ProxyApplyReplyValidationError) ErrorName ¶
func (e ProxyApplyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ProxyApplyReplyValidationError) Field ¶
func (e ProxyApplyReplyValidationError) Field() string
Field function returns field value.
func (ProxyApplyReplyValidationError) Key ¶
func (e ProxyApplyReplyValidationError) Key() bool
Key function returns key value.
func (ProxyApplyReplyValidationError) Reason ¶
func (e ProxyApplyReplyValidationError) Reason() string
Reason function returns reason value.
type ProxyApplyRequest ¶
type ProxyApplyRequest struct {
// contains filtered or unexported fields
}
func (*ProxyApplyRequest) Descriptor
deprecated
func (*ProxyApplyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProxyApplyRequest.ProtoReflect.Descriptor instead.
func (*ProxyApplyRequest) ProtoMessage ¶
func (*ProxyApplyRequest) ProtoMessage()
func (*ProxyApplyRequest) ProtoReflect ¶
func (x *ProxyApplyRequest) ProtoReflect() protoreflect.Message
func (*ProxyApplyRequest) Reset ¶
func (x *ProxyApplyRequest) Reset()
func (*ProxyApplyRequest) String ¶
func (x *ProxyApplyRequest) String() string
func (*ProxyApplyRequest) Validate ¶
func (m *ProxyApplyRequest) Validate() error
Validate checks the field values on ProxyApplyRequest 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 (*ProxyApplyRequest) ValidateAll ¶
func (m *ProxyApplyRequest) ValidateAll() error
ValidateAll checks the field values on ProxyApplyRequest 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 ProxyApplyRequestMultiError, or nil if none found.
type ProxyApplyRequestMultiError ¶
type ProxyApplyRequestMultiError []error
ProxyApplyRequestMultiError is an error wrapping multiple validation errors returned by ProxyApplyRequest.ValidateAll() if the designated constraints aren't met.
func (ProxyApplyRequestMultiError) AllErrors ¶
func (m ProxyApplyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProxyApplyRequestMultiError) Error ¶
func (m ProxyApplyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProxyApplyRequestValidationError ¶
type ProxyApplyRequestValidationError struct {
// contains filtered or unexported fields
}
ProxyApplyRequestValidationError is the validation error returned by ProxyApplyRequest.Validate if the designated constraints aren't met.
func (ProxyApplyRequestValidationError) Cause ¶
func (e ProxyApplyRequestValidationError) Cause() error
Cause function returns cause value.
func (ProxyApplyRequestValidationError) Error ¶
func (e ProxyApplyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProxyApplyRequestValidationError) ErrorName ¶
func (e ProxyApplyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProxyApplyRequestValidationError) Field ¶
func (e ProxyApplyRequestValidationError) Field() string
Field function returns field value.
func (ProxyApplyRequestValidationError) Key ¶
func (e ProxyApplyRequestValidationError) Key() bool
Key function returns key value.
func (ProxyApplyRequestValidationError) Reason ¶
func (e ProxyApplyRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterRequest ¶
type RegisterRequest struct { Type VerifyType `protobuf:"varint,1,opt,name=type,proto3,enum=protobuf.VerifyType" json:"type,omitempty"` Mail string `protobuf:"bytes,2,opt,name=mail,proto3" json:"mail,omitempty"` // TODO 这次可以不考虑,后续需要验证码 NickName string `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` // TODO 不限制,为空则设置位用户名 Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` // TODO 定义手机号规则 只支持国内11位手机号, // 这次为可选,后续可以用来受验证码 Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` // TODO 定义密码规则 ConfirmPassword string `protobuf:"bytes,6,opt,name=confirm_password,json=confirmPassword,proto3" json:"confirm_password,omitempty"` // TODO 定义密码规则 VerifyCode string `protobuf:"bytes,7,opt,name=verify_code,json=verifyCode,proto3" json:"verify_code,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetConfirmPassword ¶
func (x *RegisterRequest) GetConfirmPassword() string
func (*RegisterRequest) GetMail ¶
func (x *RegisterRequest) GetMail() string
func (*RegisterRequest) GetNickName ¶
func (x *RegisterRequest) GetNickName() string
func (*RegisterRequest) GetPassword ¶
func (x *RegisterRequest) GetPassword() string
func (*RegisterRequest) GetPhone ¶
func (x *RegisterRequest) GetPhone() string
func (*RegisterRequest) GetType ¶
func (x *RegisterRequest) GetType() VerifyType
func (*RegisterRequest) GetVerifyCode ¶
func (x *RegisterRequest) GetVerifyCode() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
func (*RegisterRequest) Validate ¶
func (m *RegisterRequest) Validate() error
Validate checks the field values on RegisterRequest 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 (*RegisterRequest) ValidateAll ¶
func (m *RegisterRequest) ValidateAll() error
ValidateAll checks the field values on RegisterRequest 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 RegisterRequestMultiError, or nil if none found.
type RegisterRequestMultiError ¶
type RegisterRequestMultiError []error
RegisterRequestMultiError is an error wrapping multiple validation errors returned by RegisterRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterRequestMultiError) AllErrors ¶
func (m RegisterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterRequestMultiError) Error ¶
func (m RegisterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterRequestValidationError ¶
type RegisterRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterRequestValidationError is the validation error returned by RegisterRequest.Validate if the designated constraints aren't met.
func (RegisterRequestValidationError) Cause ¶
func (e RegisterRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterRequestValidationError) Error ¶
func (e RegisterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterRequestValidationError) ErrorName ¶
func (e RegisterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterRequestValidationError) Field ¶
func (e RegisterRequestValidationError) Field() string
Field function returns field value.
func (RegisterRequestValidationError) Key ¶
func (e RegisterRequestValidationError) Key() bool
Key function returns key value.
func (RegisterRequestValidationError) Reason ¶
func (e RegisterRequestValidationError) Reason() string
Reason function returns reason value.
type Reply ¶
type Reply struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *string `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty"` Total *uint64 `protobuf:"varint,4,opt,name=total,proto3,oneof" json:"total,omitempty"` Page *uint64 `protobuf:"varint,5,opt,name=page,proto3,oneof" json:"page,omitempty"` PageSize *uint64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*Reply) Descriptor
deprecated
func (*Reply) GetMessage ¶
func (*Reply) GetPageSize ¶
func (*Reply) ProtoMessage ¶
func (*Reply) ProtoMessage()
func (*Reply) ProtoReflect ¶
func (x *Reply) ProtoReflect() protoreflect.Message
func (*Reply) Validate ¶
Validate checks the field values on Reply 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 (*Reply) ValidateAll ¶
ValidateAll checks the field values on Reply 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 ReplyMultiError, or nil if none found.
type ReplyMultiError ¶
type ReplyMultiError []error
ReplyMultiError is an error wrapping multiple validation errors returned by Reply.ValidateAll() if the designated constraints aren't met.
func (ReplyMultiError) AllErrors ¶
func (m ReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReplyMultiError) Error ¶
func (m ReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReplyValidationError ¶
type ReplyValidationError struct {
// contains filtered or unexported fields
}
ReplyValidationError is the validation error returned by Reply.Validate if the designated constraints aren't met.
func (ReplyValidationError) Cause ¶
func (e ReplyValidationError) Cause() error
Cause function returns cause value.
func (ReplyValidationError) Error ¶
func (e ReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ReplyValidationError) ErrorName ¶
func (e ReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ReplyValidationError) Field ¶
func (e ReplyValidationError) Field() string
Field function returns field value.
func (ReplyValidationError) Key ¶
func (e ReplyValidationError) Key() bool
Key function returns key value.
func (ReplyValidationError) Reason ¶
func (e ReplyValidationError) Reason() string
Reason function returns reason value.
type ResetPwdNoLoginReply ¶
type ResetPwdNoLoginReply struct {
// contains filtered or unexported fields
}
func (*ResetPwdNoLoginReply) Descriptor
deprecated
func (*ResetPwdNoLoginReply) Descriptor() ([]byte, []int)
Deprecated: Use ResetPwdNoLoginReply.ProtoReflect.Descriptor instead.
func (*ResetPwdNoLoginReply) ProtoMessage ¶
func (*ResetPwdNoLoginReply) ProtoMessage()
func (*ResetPwdNoLoginReply) ProtoReflect ¶
func (x *ResetPwdNoLoginReply) ProtoReflect() protoreflect.Message
func (*ResetPwdNoLoginReply) Reset ¶
func (x *ResetPwdNoLoginReply) Reset()
func (*ResetPwdNoLoginReply) String ¶
func (x *ResetPwdNoLoginReply) String() string
func (*ResetPwdNoLoginReply) Validate ¶
func (m *ResetPwdNoLoginReply) Validate() error
Validate checks the field values on ResetPwdNoLoginReply 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 (*ResetPwdNoLoginReply) ValidateAll ¶
func (m *ResetPwdNoLoginReply) ValidateAll() error
ValidateAll checks the field values on ResetPwdNoLoginReply 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 ResetPwdNoLoginReplyMultiError, or nil if none found.
type ResetPwdNoLoginReplyMultiError ¶
type ResetPwdNoLoginReplyMultiError []error
ResetPwdNoLoginReplyMultiError is an error wrapping multiple validation errors returned by ResetPwdNoLoginReply.ValidateAll() if the designated constraints aren't met.
func (ResetPwdNoLoginReplyMultiError) AllErrors ¶
func (m ResetPwdNoLoginReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetPwdNoLoginReplyMultiError) Error ¶
func (m ResetPwdNoLoginReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetPwdNoLoginReplyValidationError ¶
type ResetPwdNoLoginReplyValidationError struct {
// contains filtered or unexported fields
}
ResetPwdNoLoginReplyValidationError is the validation error returned by ResetPwdNoLoginReply.Validate if the designated constraints aren't met.
func (ResetPwdNoLoginReplyValidationError) Cause ¶
func (e ResetPwdNoLoginReplyValidationError) Cause() error
Cause function returns cause value.
func (ResetPwdNoLoginReplyValidationError) Error ¶
func (e ResetPwdNoLoginReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ResetPwdNoLoginReplyValidationError) ErrorName ¶
func (e ResetPwdNoLoginReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ResetPwdNoLoginReplyValidationError) Field ¶
func (e ResetPwdNoLoginReplyValidationError) Field() string
Field function returns field value.
func (ResetPwdNoLoginReplyValidationError) Key ¶
func (e ResetPwdNoLoginReplyValidationError) Key() bool
Key function returns key value.
func (ResetPwdNoLoginReplyValidationError) Reason ¶
func (e ResetPwdNoLoginReplyValidationError) Reason() string
Reason function returns reason value.
type ResetPwdNoLoginRequest ¶
type ResetPwdNoLoginRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // 手机号 Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` // 邮箱 VerifyCode string `protobuf:"bytes,3,opt,name=verify_code,json=verifyCode,proto3" json:"verify_code,omitempty"` // 验证码 // contains filtered or unexported fields }
func (*ResetPwdNoLoginRequest) Descriptor
deprecated
func (*ResetPwdNoLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetPwdNoLoginRequest.ProtoReflect.Descriptor instead.
func (*ResetPwdNoLoginRequest) GetEmail ¶
func (x *ResetPwdNoLoginRequest) GetEmail() string
func (*ResetPwdNoLoginRequest) GetPhone ¶
func (x *ResetPwdNoLoginRequest) GetPhone() string
func (*ResetPwdNoLoginRequest) GetVerifyCode ¶
func (x *ResetPwdNoLoginRequest) GetVerifyCode() string
func (*ResetPwdNoLoginRequest) ProtoMessage ¶
func (*ResetPwdNoLoginRequest) ProtoMessage()
func (*ResetPwdNoLoginRequest) ProtoReflect ¶
func (x *ResetPwdNoLoginRequest) ProtoReflect() protoreflect.Message
func (*ResetPwdNoLoginRequest) Reset ¶
func (x *ResetPwdNoLoginRequest) Reset()
func (*ResetPwdNoLoginRequest) String ¶
func (x *ResetPwdNoLoginRequest) String() string
func (*ResetPwdNoLoginRequest) Validate ¶
func (m *ResetPwdNoLoginRequest) Validate() error
Validate checks the field values on ResetPwdNoLoginRequest 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 (*ResetPwdNoLoginRequest) ValidateAll ¶
func (m *ResetPwdNoLoginRequest) ValidateAll() error
ValidateAll checks the field values on ResetPwdNoLoginRequest 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 ResetPwdNoLoginRequestMultiError, or nil if none found.
type ResetPwdNoLoginRequestMultiError ¶
type ResetPwdNoLoginRequestMultiError []error
ResetPwdNoLoginRequestMultiError is an error wrapping multiple validation errors returned by ResetPwdNoLoginRequest.ValidateAll() if the designated constraints aren't met.
func (ResetPwdNoLoginRequestMultiError) AllErrors ¶
func (m ResetPwdNoLoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetPwdNoLoginRequestMultiError) Error ¶
func (m ResetPwdNoLoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetPwdNoLoginRequestValidationError ¶
type ResetPwdNoLoginRequestValidationError struct {
// contains filtered or unexported fields
}
ResetPwdNoLoginRequestValidationError is the validation error returned by ResetPwdNoLoginRequest.Validate if the designated constraints aren't met.
func (ResetPwdNoLoginRequestValidationError) Cause ¶
func (e ResetPwdNoLoginRequestValidationError) Cause() error
Cause function returns cause value.
func (ResetPwdNoLoginRequestValidationError) Error ¶
func (e ResetPwdNoLoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResetPwdNoLoginRequestValidationError) ErrorName ¶
func (e ResetPwdNoLoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResetPwdNoLoginRequestValidationError) Field ¶
func (e ResetPwdNoLoginRequestValidationError) Field() string
Field function returns field value.
func (ResetPwdNoLoginRequestValidationError) Key ¶
func (e ResetPwdNoLoginRequestValidationError) Key() bool
Key function returns key value.
func (ResetPwdNoLoginRequestValidationError) Reason ¶
func (e ResetPwdNoLoginRequestValidationError) Reason() string
Reason function returns reason value.
type ResetPwdRequest ¶
type ResetPwdRequest struct { OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"` // 旧密码 NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // 新密码 ConfirmPassword string `protobuf:"bytes,3,opt,name=confirm_password,json=confirmPassword,proto3" json:"confirm_password,omitempty"` // 确认密码 Captcha string `protobuf:"bytes,4,opt,name=captcha,proto3" json:"captcha,omitempty"` // 图形验证码 // contains filtered or unexported fields }
func (*ResetPwdRequest) Descriptor
deprecated
func (*ResetPwdRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetPwdRequest.ProtoReflect.Descriptor instead.
func (*ResetPwdRequest) GetCaptcha ¶
func (x *ResetPwdRequest) GetCaptcha() string
func (*ResetPwdRequest) GetConfirmPassword ¶
func (x *ResetPwdRequest) GetConfirmPassword() string
func (*ResetPwdRequest) GetNewPassword ¶
func (x *ResetPwdRequest) GetNewPassword() string
func (*ResetPwdRequest) GetOldPassword ¶
func (x *ResetPwdRequest) GetOldPassword() string
func (*ResetPwdRequest) ProtoMessage ¶
func (*ResetPwdRequest) ProtoMessage()
func (*ResetPwdRequest) ProtoReflect ¶
func (x *ResetPwdRequest) ProtoReflect() protoreflect.Message
func (*ResetPwdRequest) Reset ¶
func (x *ResetPwdRequest) Reset()
func (*ResetPwdRequest) String ¶
func (x *ResetPwdRequest) String() string
func (*ResetPwdRequest) Validate ¶
func (m *ResetPwdRequest) Validate() error
Validate checks the field values on ResetPwdRequest 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 (*ResetPwdRequest) ValidateAll ¶
func (m *ResetPwdRequest) ValidateAll() error
ValidateAll checks the field values on ResetPwdRequest 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 ResetPwdRequestMultiError, or nil if none found.
type ResetPwdRequestMultiError ¶
type ResetPwdRequestMultiError []error
ResetPwdRequestMultiError is an error wrapping multiple validation errors returned by ResetPwdRequest.ValidateAll() if the designated constraints aren't met.
func (ResetPwdRequestMultiError) AllErrors ¶
func (m ResetPwdRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetPwdRequestMultiError) Error ¶
func (m ResetPwdRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetPwdRequestValidationError ¶
type ResetPwdRequestValidationError struct {
// contains filtered or unexported fields
}
ResetPwdRequestValidationError is the validation error returned by ResetPwdRequest.Validate if the designated constraints aren't met.
func (ResetPwdRequestValidationError) Cause ¶
func (e ResetPwdRequestValidationError) Cause() error
Cause function returns cause value.
func (ResetPwdRequestValidationError) Error ¶
func (e ResetPwdRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResetPwdRequestValidationError) ErrorName ¶
func (e ResetPwdRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResetPwdRequestValidationError) Field ¶
func (e ResetPwdRequestValidationError) Field() string
Field function returns field value.
func (ResetPwdRequestValidationError) Key ¶
func (e ResetPwdRequestValidationError) Key() bool
Key function returns key value.
func (ResetPwdRequestValidationError) Reason ¶
func (e ResetPwdRequestValidationError) Reason() string
Reason function returns reason value.
type TradingTokenApplyReply ¶
type TradingTokenApplyReply struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*TradingTokenApplyReply) Descriptor
deprecated
func (*TradingTokenApplyReply) Descriptor() ([]byte, []int)
Deprecated: Use TradingTokenApplyReply.ProtoReflect.Descriptor instead.
func (*TradingTokenApplyReply) GetCode ¶
func (x *TradingTokenApplyReply) GetCode() int64
func (*TradingTokenApplyReply) GetData ¶
func (x *TradingTokenApplyReply) GetData() *anypb.Any
func (*TradingTokenApplyReply) GetMessage ¶
func (x *TradingTokenApplyReply) GetMessage() string
func (*TradingTokenApplyReply) ProtoMessage ¶
func (*TradingTokenApplyReply) ProtoMessage()
func (*TradingTokenApplyReply) ProtoReflect ¶
func (x *TradingTokenApplyReply) ProtoReflect() protoreflect.Message
func (*TradingTokenApplyReply) Reset ¶
func (x *TradingTokenApplyReply) Reset()
func (*TradingTokenApplyReply) String ¶
func (x *TradingTokenApplyReply) String() string
func (*TradingTokenApplyReply) Validate ¶
func (m *TradingTokenApplyReply) Validate() error
Validate checks the field values on TradingTokenApplyReply 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 (*TradingTokenApplyReply) ValidateAll ¶
func (m *TradingTokenApplyReply) ValidateAll() error
ValidateAll checks the field values on TradingTokenApplyReply 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 TradingTokenApplyReplyMultiError, or nil if none found.
type TradingTokenApplyReplyMultiError ¶
type TradingTokenApplyReplyMultiError []error
TradingTokenApplyReplyMultiError is an error wrapping multiple validation errors returned by TradingTokenApplyReply.ValidateAll() if the designated constraints aren't met.
func (TradingTokenApplyReplyMultiError) AllErrors ¶
func (m TradingTokenApplyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TradingTokenApplyReplyMultiError) Error ¶
func (m TradingTokenApplyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TradingTokenApplyReplyValidationError ¶
type TradingTokenApplyReplyValidationError struct {
// contains filtered or unexported fields
}
TradingTokenApplyReplyValidationError is the validation error returned by TradingTokenApplyReply.Validate if the designated constraints aren't met.
func (TradingTokenApplyReplyValidationError) Cause ¶
func (e TradingTokenApplyReplyValidationError) Cause() error
Cause function returns cause value.
func (TradingTokenApplyReplyValidationError) Error ¶
func (e TradingTokenApplyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (TradingTokenApplyReplyValidationError) ErrorName ¶
func (e TradingTokenApplyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (TradingTokenApplyReplyValidationError) Field ¶
func (e TradingTokenApplyReplyValidationError) Field() string
Field function returns field value.
func (TradingTokenApplyReplyValidationError) Key ¶
func (e TradingTokenApplyReplyValidationError) Key() bool
Key function returns key value.
func (TradingTokenApplyReplyValidationError) Reason ¶
func (e TradingTokenApplyReplyValidationError) Reason() string
Reason function returns reason value.
type TradingTokenCancelReply ¶
type TradingTokenCancelReply struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*TradingTokenCancelReply) Descriptor
deprecated
func (*TradingTokenCancelReply) Descriptor() ([]byte, []int)
Deprecated: Use TradingTokenCancelReply.ProtoReflect.Descriptor instead.
func (*TradingTokenCancelReply) GetCode ¶
func (x *TradingTokenCancelReply) GetCode() int64
func (*TradingTokenCancelReply) GetData ¶
func (x *TradingTokenCancelReply) GetData() *anypb.Any
func (*TradingTokenCancelReply) GetMessage ¶
func (x *TradingTokenCancelReply) GetMessage() string
func (*TradingTokenCancelReply) ProtoMessage ¶
func (*TradingTokenCancelReply) ProtoMessage()
func (*TradingTokenCancelReply) ProtoReflect ¶
func (x *TradingTokenCancelReply) ProtoReflect() protoreflect.Message
func (*TradingTokenCancelReply) Reset ¶
func (x *TradingTokenCancelReply) Reset()
func (*TradingTokenCancelReply) String ¶
func (x *TradingTokenCancelReply) String() string
func (*TradingTokenCancelReply) Validate ¶
func (m *TradingTokenCancelReply) Validate() error
Validate checks the field values on TradingTokenCancelReply 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 (*TradingTokenCancelReply) ValidateAll ¶
func (m *TradingTokenCancelReply) ValidateAll() error
ValidateAll checks the field values on TradingTokenCancelReply 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 TradingTokenCancelReplyMultiError, or nil if none found.
type TradingTokenCancelReplyMultiError ¶
type TradingTokenCancelReplyMultiError []error
TradingTokenCancelReplyMultiError is an error wrapping multiple validation errors returned by TradingTokenCancelReply.ValidateAll() if the designated constraints aren't met.
func (TradingTokenCancelReplyMultiError) AllErrors ¶
func (m TradingTokenCancelReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TradingTokenCancelReplyMultiError) Error ¶
func (m TradingTokenCancelReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TradingTokenCancelReplyValidationError ¶
type TradingTokenCancelReplyValidationError struct {
// contains filtered or unexported fields
}
TradingTokenCancelReplyValidationError is the validation error returned by TradingTokenCancelReply.Validate if the designated constraints aren't met.
func (TradingTokenCancelReplyValidationError) Cause ¶
func (e TradingTokenCancelReplyValidationError) Cause() error
Cause function returns cause value.
func (TradingTokenCancelReplyValidationError) Error ¶
func (e TradingTokenCancelReplyValidationError) Error() string
Error satisfies the builtin error interface
func (TradingTokenCancelReplyValidationError) ErrorName ¶
func (e TradingTokenCancelReplyValidationError) ErrorName() string
ErrorName returns error name.
func (TradingTokenCancelReplyValidationError) Field ¶
func (e TradingTokenCancelReplyValidationError) Field() string
Field function returns field value.
func (TradingTokenCancelReplyValidationError) Key ¶
func (e TradingTokenCancelReplyValidationError) Key() bool
Key function returns key value.
func (TradingTokenCancelReplyValidationError) Reason ¶
func (e TradingTokenCancelReplyValidationError) Reason() string
Reason function returns reason value.
type TradingTokenCollectorListReply ¶
type TradingTokenCollectorListReply struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []*CollectorTradingTokenInfo `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` Total *uint64 `protobuf:"varint,4,opt,name=total,proto3,oneof" json:"total,omitempty"` Page *uint64 `protobuf:"varint,5,opt,name=page,proto3,oneof" json:"page,omitempty"` PageSize *uint64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*TradingTokenCollectorListReply) Descriptor
deprecated
func (*TradingTokenCollectorListReply) Descriptor() ([]byte, []int)
Deprecated: Use TradingTokenCollectorListReply.ProtoReflect.Descriptor instead.
func (*TradingTokenCollectorListReply) GetCode ¶
func (x *TradingTokenCollectorListReply) GetCode() uint64
func (*TradingTokenCollectorListReply) GetData ¶
func (x *TradingTokenCollectorListReply) GetData() []*CollectorTradingTokenInfo
func (*TradingTokenCollectorListReply) GetMessage ¶
func (x *TradingTokenCollectorListReply) GetMessage() string
func (*TradingTokenCollectorListReply) GetPage ¶
func (x *TradingTokenCollectorListReply) GetPage() uint64
func (*TradingTokenCollectorListReply) GetPageSize ¶
func (x *TradingTokenCollectorListReply) GetPageSize() uint64
func (*TradingTokenCollectorListReply) GetTotal ¶
func (x *TradingTokenCollectorListReply) GetTotal() uint64
func (*TradingTokenCollectorListReply) ProtoMessage ¶
func (*TradingTokenCollectorListReply) ProtoMessage()
func (*TradingTokenCollectorListReply) ProtoReflect ¶
func (x *TradingTokenCollectorListReply) ProtoReflect() protoreflect.Message
func (*TradingTokenCollectorListReply) Reset ¶
func (x *TradingTokenCollectorListReply) Reset()
func (*TradingTokenCollectorListReply) String ¶
func (x *TradingTokenCollectorListReply) String() string
func (*TradingTokenCollectorListReply) Validate ¶
func (m *TradingTokenCollectorListReply) Validate() error
Validate checks the field values on TradingTokenCollectorListReply 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 (*TradingTokenCollectorListReply) ValidateAll ¶
func (m *TradingTokenCollectorListReply) ValidateAll() error
ValidateAll checks the field values on TradingTokenCollectorListReply 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 TradingTokenCollectorListReplyMultiError, or nil if none found.
type TradingTokenCollectorListReplyMultiError ¶
type TradingTokenCollectorListReplyMultiError []error
TradingTokenCollectorListReplyMultiError is an error wrapping multiple validation errors returned by TradingTokenCollectorListReply.ValidateAll() if the designated constraints aren't met.
func (TradingTokenCollectorListReplyMultiError) AllErrors ¶
func (m TradingTokenCollectorListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TradingTokenCollectorListReplyMultiError) Error ¶
func (m TradingTokenCollectorListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TradingTokenCollectorListReplyValidationError ¶
type TradingTokenCollectorListReplyValidationError struct {
// contains filtered or unexported fields
}
TradingTokenCollectorListReplyValidationError is the validation error returned by TradingTokenCollectorListReply.Validate if the designated constraints aren't met.
func (TradingTokenCollectorListReplyValidationError) Cause ¶
func (e TradingTokenCollectorListReplyValidationError) Cause() error
Cause function returns cause value.
func (TradingTokenCollectorListReplyValidationError) Error ¶
func (e TradingTokenCollectorListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (TradingTokenCollectorListReplyValidationError) ErrorName ¶
func (e TradingTokenCollectorListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (TradingTokenCollectorListReplyValidationError) Field ¶
func (e TradingTokenCollectorListReplyValidationError) Field() string
Field function returns field value.
func (TradingTokenCollectorListReplyValidationError) Key ¶
func (e TradingTokenCollectorListReplyValidationError) Key() bool
Key function returns key value.
func (TradingTokenCollectorListReplyValidationError) Reason ¶
func (e TradingTokenCollectorListReplyValidationError) Reason() string
Reason function returns reason value.
type TradingTokenCollectorListRequest ¶
type TradingTokenCollectorListRequest struct { CollectorName string `protobuf:"bytes,1,opt,name=collector_name,json=collectorName,proto3" json:"collector_name,omitempty"` Page uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize uint64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*TradingTokenCollectorListRequest) Descriptor
deprecated
func (*TradingTokenCollectorListRequest) Descriptor() ([]byte, []int)
Deprecated: Use TradingTokenCollectorListRequest.ProtoReflect.Descriptor instead.
func (*TradingTokenCollectorListRequest) GetCollectorName ¶
func (x *TradingTokenCollectorListRequest) GetCollectorName() string
func (*TradingTokenCollectorListRequest) GetPage ¶
func (x *TradingTokenCollectorListRequest) GetPage() uint64
func (*TradingTokenCollectorListRequest) GetPageSize ¶
func (x *TradingTokenCollectorListRequest) GetPageSize() uint64
func (*TradingTokenCollectorListRequest) ProtoMessage ¶
func (*TradingTokenCollectorListRequest) ProtoMessage()
func (*TradingTokenCollectorListRequest) ProtoReflect ¶
func (x *TradingTokenCollectorListRequest) ProtoReflect() protoreflect.Message
func (*TradingTokenCollectorListRequest) Reset ¶
func (x *TradingTokenCollectorListRequest) Reset()
func (*TradingTokenCollectorListRequest) String ¶
func (x *TradingTokenCollectorListRequest) String() string
func (*TradingTokenCollectorListRequest) Validate ¶
func (m *TradingTokenCollectorListRequest) Validate() error
Validate checks the field values on TradingTokenCollectorListRequest 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 (*TradingTokenCollectorListRequest) ValidateAll ¶
func (m *TradingTokenCollectorListRequest) ValidateAll() error
ValidateAll checks the field values on TradingTokenCollectorListRequest 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 TradingTokenCollectorListRequestMultiError, or nil if none found.
type TradingTokenCollectorListRequestMultiError ¶
type TradingTokenCollectorListRequestMultiError []error
TradingTokenCollectorListRequestMultiError is an error wrapping multiple validation errors returned by TradingTokenCollectorListRequest.ValidateAll() if the designated constraints aren't met.
func (TradingTokenCollectorListRequestMultiError) AllErrors ¶
func (m TradingTokenCollectorListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TradingTokenCollectorListRequestMultiError) Error ¶
func (m TradingTokenCollectorListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TradingTokenCollectorListRequestValidationError ¶
type TradingTokenCollectorListRequestValidationError struct {
// contains filtered or unexported fields
}
TradingTokenCollectorListRequestValidationError is the validation error returned by TradingTokenCollectorListRequest.Validate if the designated constraints aren't met.
func (TradingTokenCollectorListRequestValidationError) Cause ¶
func (e TradingTokenCollectorListRequestValidationError) Cause() error
Cause function returns cause value.
func (TradingTokenCollectorListRequestValidationError) Error ¶
func (e TradingTokenCollectorListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TradingTokenCollectorListRequestValidationError) ErrorName ¶
func (e TradingTokenCollectorListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TradingTokenCollectorListRequestValidationError) Field ¶
func (e TradingTokenCollectorListRequestValidationError) Field() string
Field function returns field value.
func (TradingTokenCollectorListRequestValidationError) Key ¶
func (e TradingTokenCollectorListRequestValidationError) Key() bool
Key function returns key value.
func (TradingTokenCollectorListRequestValidationError) Reason ¶
func (e TradingTokenCollectorListRequestValidationError) Reason() string
Reason function returns reason value.
type TradingTokenInfo ¶
type TradingTokenInfo 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"` TicketTopic string `protobuf:"bytes,3,opt,name=ticket_topic,json=ticketTopic,proto3" json:"ticket_topic,omitempty"` OrderTopic string `protobuf:"bytes,4,opt,name=order_topic,json=orderTopic,proto3" json:"order_topic,omitempty"` Enable bool `protobuf:"varint,5,opt,name=enable,proto3" json:"enable,omitempty"` BuyEnable bool `protobuf:"varint,6,opt,name=buy_enable,json=buyEnable,proto3" json:"buy_enable,omitempty"` SellEnable bool `protobuf:"varint,7,opt,name=sell_enable,json=sellEnable,proto3" json:"sell_enable,omitempty"` Exchange string `protobuf:"bytes,8,opt,name=exchange,proto3" json:"exchange,omitempty"` Base string `protobuf:"bytes,9,opt,name=base,proto3" json:"base,omitempty"` Quote string `protobuf:"bytes,10,opt,name=quote,proto3" json:"quote,omitempty"` ExtraInfo []byte `protobuf:"bytes,11,opt,name=extra_info,json=extraInfo,proto3,oneof" json:"extra_info,omitempty"` Score *int64 `protobuf:"varint,12,opt,name=score,proto3,oneof" json:"score,omitempty"` CreateAt *datetime.DateTime `protobuf:"bytes,13,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"` UpdatedAt *datetime.DateTime `protobuf:"bytes,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*TradingTokenInfo) Descriptor
deprecated
func (*TradingTokenInfo) Descriptor() ([]byte, []int)
Deprecated: Use TradingTokenInfo.ProtoReflect.Descriptor instead.
func (*TradingTokenInfo) GetBase ¶
func (x *TradingTokenInfo) GetBase() string
func (*TradingTokenInfo) GetBuyEnable ¶
func (x *TradingTokenInfo) GetBuyEnable() bool
func (*TradingTokenInfo) GetCreateAt ¶
func (x *TradingTokenInfo) GetCreateAt() *datetime.DateTime
func (*TradingTokenInfo) GetEnable ¶
func (x *TradingTokenInfo) GetEnable() bool
func (*TradingTokenInfo) GetExchange ¶
func (x *TradingTokenInfo) GetExchange() string
func (*TradingTokenInfo) GetExtraInfo ¶
func (x *TradingTokenInfo) GetExtraInfo() []byte
func (*TradingTokenInfo) GetId ¶
func (x *TradingTokenInfo) GetId() int64
func (*TradingTokenInfo) GetOrderTopic ¶
func (x *TradingTokenInfo) GetOrderTopic() string
func (*TradingTokenInfo) GetQuote ¶
func (x *TradingTokenInfo) GetQuote() string
func (*TradingTokenInfo) GetScore ¶
func (x *TradingTokenInfo) GetScore() int64
func (*TradingTokenInfo) GetSellEnable ¶
func (x *TradingTokenInfo) GetSellEnable() bool
func (*TradingTokenInfo) GetTicketTopic ¶
func (x *TradingTokenInfo) GetTicketTopic() string
func (*TradingTokenInfo) GetUpdatedAt ¶
func (x *TradingTokenInfo) GetUpdatedAt() *datetime.DateTime
func (*TradingTokenInfo) GetUserId ¶
func (x *TradingTokenInfo) GetUserId() int64
func (*TradingTokenInfo) ProtoMessage ¶
func (*TradingTokenInfo) ProtoMessage()
func (*TradingTokenInfo) ProtoReflect ¶
func (x *TradingTokenInfo) ProtoReflect() protoreflect.Message
func (*TradingTokenInfo) Reset ¶
func (x *TradingTokenInfo) Reset()
func (*TradingTokenInfo) String ¶
func (x *TradingTokenInfo) String() string
func (*TradingTokenInfo) Validate ¶
func (m *TradingTokenInfo) Validate() error
Validate checks the field values on TradingTokenInfo 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 (*TradingTokenInfo) ValidateAll ¶
func (m *TradingTokenInfo) ValidateAll() error
ValidateAll checks the field values on TradingTokenInfo 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 TradingTokenInfoMultiError, or nil if none found.
type TradingTokenInfoMultiError ¶
type TradingTokenInfoMultiError []error
TradingTokenInfoMultiError is an error wrapping multiple validation errors returned by TradingTokenInfo.ValidateAll() if the designated constraints aren't met.
func (TradingTokenInfoMultiError) AllErrors ¶
func (m TradingTokenInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TradingTokenInfoMultiError) Error ¶
func (m TradingTokenInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TradingTokenInfoValidationError ¶
type TradingTokenInfoValidationError struct {
// contains filtered or unexported fields
}
TradingTokenInfoValidationError is the validation error returned by TradingTokenInfo.Validate if the designated constraints aren't met.
func (TradingTokenInfoValidationError) Cause ¶
func (e TradingTokenInfoValidationError) Cause() error
Cause function returns cause value.
func (TradingTokenInfoValidationError) Error ¶
func (e TradingTokenInfoValidationError) Error() string
Error satisfies the builtin error interface
func (TradingTokenInfoValidationError) ErrorName ¶
func (e TradingTokenInfoValidationError) ErrorName() string
ErrorName returns error name.
func (TradingTokenInfoValidationError) Field ¶
func (e TradingTokenInfoValidationError) Field() string
Field function returns field value.
func (TradingTokenInfoValidationError) Key ¶
func (e TradingTokenInfoValidationError) Key() bool
Key function returns key value.
func (TradingTokenInfoValidationError) Reason ¶
func (e TradingTokenInfoValidationError) Reason() string
Reason function returns reason value.
type TradingTokenServiceClient ¶
type TradingTokenServiceClient interface { // grider service for web api APITradingTokenAdd(ctx context.Context, in *APITradingTokenAddRequest, opts ...grpc.CallOption) (*Reply, error) // grider service for web api APITradingTokenUpdate(ctx context.Context, in *APITradingTokenUpdateRequest, opts ...grpc.CallOption) (*Reply, error) // grider service TradingTokenCollectorList(ctx context.Context, in *TradingTokenCollectorListRequest, opts ...grpc.CallOption) (*TradingTokenCollectorListReply, error) // collector service // 申请交易某币种, // collector 开始订阅ticket,然后将数据发送到emitter // grider 根据emitter中的ticket信息在合适时间告知collector买卖下单 // collector 开始监听订单信息然后将订单状态变更告知grider ApplyTradingToken(ctx context.Context, in *CollectorTradingTokenInfo, opts ...grpc.CallOption) (*TradingTokenApplyReply, error) // collector service CancelTradingToken(ctx context.Context, in *CollectorTradingTokenInfo, opts ...grpc.CallOption) (*TradingTokenCancelReply, error) }
TradingTokenServiceClient is the client API for TradingTokenService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTradingTokenServiceClient ¶
func NewTradingTokenServiceClient(cc grpc.ClientConnInterface) TradingTokenServiceClient
type TradingTokenServiceServer ¶
type TradingTokenServiceServer interface { // grider service for web api APITradingTokenAdd(context.Context, *APITradingTokenAddRequest) (*Reply, error) // grider service for web api APITradingTokenUpdate(context.Context, *APITradingTokenUpdateRequest) (*Reply, error) // grider service TradingTokenCollectorList(context.Context, *TradingTokenCollectorListRequest) (*TradingTokenCollectorListReply, error) // collector service // 申请交易某币种, // collector 开始订阅ticket,然后将数据发送到emitter // grider 根据emitter中的ticket信息在合适时间告知collector买卖下单 // collector 开始监听订单信息然后将订单状态变更告知grider ApplyTradingToken(context.Context, *CollectorTradingTokenInfo) (*TradingTokenApplyReply, error) // collector service CancelTradingToken(context.Context, *CollectorTradingTokenInfo) (*TradingTokenCancelReply, error) // contains filtered or unexported methods }
TradingTokenServiceServer is the server API for TradingTokenService service. All implementations must embed UnimplementedTradingTokenServiceServer for forward compatibility
type UnimplementedBaseServiceServer ¶
type UnimplementedBaseServiceServer struct { }
UnimplementedBaseServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBaseServiceServer) NotFound ¶
func (UnimplementedBaseServiceServer) NotFound(context.Context, *EmptyRequest) (*Reply, error)
type UnimplementedCollectorServiceServer ¶
type UnimplementedCollectorServiceServer struct { }
UnimplementedCollectorServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCollectorServiceServer) GetWithName ¶
func (UnimplementedCollectorServiceServer) GetWithName(context.Context, *CollectorGetWithNameRequest) (*CollectorGetWithNameReply, error)
func (UnimplementedCollectorServiceServer) Login ¶
func (UnimplementedCollectorServiceServer) Login(context.Context, *CollectorRequest) (*CollectorReply, error)
func (UnimplementedCollectorServiceServer) Logout ¶
func (UnimplementedCollectorServiceServer) Logout(context.Context, *CollectorRequest) (*CollectorReply, error)
func (UnimplementedCollectorServiceServer) Register ¶
func (UnimplementedCollectorServiceServer) Register(context.Context, *CollectorRequest) (*CollectorReply, error)
type UnimplementedCurrencyServiceServer ¶
type UnimplementedCurrencyServiceServer struct { }
UnimplementedCurrencyServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCurrencyServiceServer) BatchInsertOrUpdate ¶
func (UnimplementedCurrencyServiceServer) BatchInsertOrUpdate(context.Context, *BatchInsertAndUpdateRequest) (*Reply, error)
func (UnimplementedCurrencyServiceServer) Detail ¶
func (UnimplementedCurrencyServiceServer) Detail(context.Context, *APICurrencyDetailRequest) (*APICurrencyDetailReply, error)
func (UnimplementedCurrencyServiceServer) List ¶
func (UnimplementedCurrencyServiceServer) List(context.Context, *CurrencyListRequest) (*CurrencyListReply, error)
type UnimplementedHealthServer ¶
type UnimplementedHealthServer struct { }
UnimplementedHealthServer must be embedded to have forward compatible implementations.
func (UnimplementedHealthServer) Check ¶
func (UnimplementedHealthServer) Check(context.Context, *HealthCheckRequest) (*HealthCheckReply, error)
func (UnimplementedHealthServer) Watch ¶
func (UnimplementedHealthServer) Watch(*HealthCheckRequest, Health_WatchServer) error
type UnimplementedHelloWorldServiceServer ¶
type UnimplementedHelloWorldServiceServer struct { }
UnimplementedHelloWorldServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHelloWorldServiceServer) APIHelloWorld ¶
func (UnimplementedHelloWorldServiceServer) APIHelloWorld(context.Context, *HelloWorldRequest) (*HelloWorldReply, error)
type UnimplementedOrderServiceServer ¶
type UnimplementedOrderServiceServer struct { }
UnimplementedOrderServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOrderServiceServer) CreateOrder ¶
func (UnimplementedOrderServiceServer) CreateOrder(context.Context, *CreateOrderRequest) (*CreateOrderReply, error)
type UnimplementedPingPongServiceServer ¶
type UnimplementedPingPongServiceServer struct { }
UnimplementedPingPongServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPingPongServiceServer) Ping ¶
func (UnimplementedPingPongServiceServer) Ping(context.Context, *PingRequest) (*PingReply, error)
type UnimplementedTradingTokenServiceServer ¶
type UnimplementedTradingTokenServiceServer struct { }
UnimplementedTradingTokenServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTradingTokenServiceServer) APITradingTokenAdd ¶
func (UnimplementedTradingTokenServiceServer) APITradingTokenAdd(context.Context, *APITradingTokenAddRequest) (*Reply, error)
func (UnimplementedTradingTokenServiceServer) APITradingTokenUpdate ¶
func (UnimplementedTradingTokenServiceServer) APITradingTokenUpdate(context.Context, *APITradingTokenUpdateRequest) (*Reply, error)
func (UnimplementedTradingTokenServiceServer) ApplyTradingToken ¶
func (UnimplementedTradingTokenServiceServer) ApplyTradingToken(context.Context, *CollectorTradingTokenInfo) (*TradingTokenApplyReply, error)
func (UnimplementedTradingTokenServiceServer) CancelTradingToken ¶
func (UnimplementedTradingTokenServiceServer) CancelTradingToken(context.Context, *CollectorTradingTokenInfo) (*TradingTokenCancelReply, error)
func (UnimplementedTradingTokenServiceServer) TradingTokenCollectorList ¶
func (UnimplementedTradingTokenServiceServer) TradingTokenCollectorList(context.Context, *TradingTokenCollectorListRequest) (*TradingTokenCollectorListReply, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) ApiLogin ¶
func (UnimplementedUserServiceServer) ApiLogin(context.Context, *LoginRequest) (*LoginReply, error)
func (UnimplementedUserServiceServer) ApiLogout ¶
func (UnimplementedUserServiceServer) ApiLogout(context.Context, *EmptyRequest) (*Reply, error)
func (UnimplementedUserServiceServer) ApiMailVerifyCode ¶
func (UnimplementedUserServiceServer) ApiMailVerifyCode(context.Context, *MailVerifyCodeRequest) (*MailVerifyCodeReply, error)
func (UnimplementedUserServiceServer) ApiProxyApply ¶
func (UnimplementedUserServiceServer) ApiProxyApply(context.Context, *EmptyRequest) (*Reply, error)
func (UnimplementedUserServiceServer) ApiRegister ¶
func (UnimplementedUserServiceServer) ApiRegister(context.Context, *RegisterRequest) (*LoginReply, error)
func (UnimplementedUserServiceServer) ApiResetPwd ¶
func (UnimplementedUserServiceServer) ApiResetPwd(context.Context, *ResetPwdRequest) (*Reply, error)
func (UnimplementedUserServiceServer) ApiResetPwdNoLogin ¶
func (UnimplementedUserServiceServer) ApiResetPwdNoLogin(context.Context, *ResetPwdNoLoginRequest) (*Reply, error)
func (UnimplementedUserServiceServer) ApiUpdateUserInfo ¶
func (UnimplementedUserServiceServer) ApiUpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoReply, error)
type UnsafeBaseServiceServer ¶
type UnsafeBaseServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBaseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BaseServiceServer will result in compilation errors.
type UnsafeCollectorServiceServer ¶
type UnsafeCollectorServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCollectorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CollectorServiceServer will result in compilation errors.
type UnsafeCurrencyServiceServer ¶
type UnsafeCurrencyServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCurrencyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CurrencyServiceServer will result in compilation errors.
type UnsafeHealthServer ¶
type UnsafeHealthServer interface {
// contains filtered or unexported methods
}
UnsafeHealthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HealthServer will result in compilation errors.
type UnsafeHelloWorldServiceServer ¶
type UnsafeHelloWorldServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHelloWorldServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HelloWorldServiceServer will result in compilation errors.
type UnsafeOrderServiceServer ¶
type UnsafeOrderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrderServiceServer will result in compilation errors.
type UnsafePingPongServiceServer ¶
type UnsafePingPongServiceServer interface {
// contains filtered or unexported methods
}
UnsafePingPongServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PingPongServiceServer will result in compilation errors.
type UnsafeTradingTokenServiceServer ¶
type UnsafeTradingTokenServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTradingTokenServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TradingTokenServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateUserInfoReply ¶
type UpdateUserInfoReply struct {
// contains filtered or unexported fields
}
func (*UpdateUserInfoReply) Descriptor
deprecated
func (*UpdateUserInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserInfoReply.ProtoReflect.Descriptor instead.
func (*UpdateUserInfoReply) ProtoMessage ¶
func (*UpdateUserInfoReply) ProtoMessage()
func (*UpdateUserInfoReply) ProtoReflect ¶
func (x *UpdateUserInfoReply) ProtoReflect() protoreflect.Message
func (*UpdateUserInfoReply) Reset ¶
func (x *UpdateUserInfoReply) Reset()
func (*UpdateUserInfoReply) String ¶
func (x *UpdateUserInfoReply) String() string
func (*UpdateUserInfoReply) Validate ¶
func (m *UpdateUserInfoReply) Validate() error
Validate checks the field values on UpdateUserInfoReply 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 (*UpdateUserInfoReply) ValidateAll ¶
func (m *UpdateUserInfoReply) ValidateAll() error
ValidateAll checks the field values on UpdateUserInfoReply 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 UpdateUserInfoReplyMultiError, or nil if none found.
type UpdateUserInfoReplyMultiError ¶
type UpdateUserInfoReplyMultiError []error
UpdateUserInfoReplyMultiError is an error wrapping multiple validation errors returned by UpdateUserInfoReply.ValidateAll() if the designated constraints aren't met.
func (UpdateUserInfoReplyMultiError) AllErrors ¶
func (m UpdateUserInfoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserInfoReplyMultiError) Error ¶
func (m UpdateUserInfoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserInfoReplyValidationError ¶
type UpdateUserInfoReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateUserInfoReplyValidationError is the validation error returned by UpdateUserInfoReply.Validate if the designated constraints aren't met.
func (UpdateUserInfoReplyValidationError) Cause ¶
func (e UpdateUserInfoReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserInfoReplyValidationError) Error ¶
func (e UpdateUserInfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserInfoReplyValidationError) ErrorName ¶
func (e UpdateUserInfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserInfoReplyValidationError) Field ¶
func (e UpdateUserInfoReplyValidationError) Field() string
Field function returns field value.
func (UpdateUserInfoReplyValidationError) Key ¶
func (e UpdateUserInfoReplyValidationError) Key() bool
Key function returns key value.
func (UpdateUserInfoReplyValidationError) Reason ¶
func (e UpdateUserInfoReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateUserInfoRequest ¶
type UpdateUserInfoRequest struct {
// contains filtered or unexported fields
}
func (*UpdateUserInfoRequest) Descriptor
deprecated
func (*UpdateUserInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserInfoRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserInfoRequest) ProtoMessage ¶
func (*UpdateUserInfoRequest) ProtoMessage()
func (*UpdateUserInfoRequest) ProtoReflect ¶
func (x *UpdateUserInfoRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserInfoRequest) Reset ¶
func (x *UpdateUserInfoRequest) Reset()
func (*UpdateUserInfoRequest) String ¶
func (x *UpdateUserInfoRequest) String() string
func (*UpdateUserInfoRequest) Validate ¶
func (m *UpdateUserInfoRequest) Validate() error
Validate checks the field values on UpdateUserInfoRequest 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 (*UpdateUserInfoRequest) ValidateAll ¶
func (m *UpdateUserInfoRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserInfoRequest 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 UpdateUserInfoRequestMultiError, or nil if none found.
type UpdateUserInfoRequestMultiError ¶
type UpdateUserInfoRequestMultiError []error
UpdateUserInfoRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserInfoRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserInfoRequestMultiError) AllErrors ¶
func (m UpdateUserInfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserInfoRequestMultiError) Error ¶
func (m UpdateUserInfoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserInfoRequestValidationError ¶
type UpdateUserInfoRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserInfoRequestValidationError is the validation error returned by UpdateUserInfoRequest.Validate if the designated constraints aren't met.
func (UpdateUserInfoRequestValidationError) Cause ¶
func (e UpdateUserInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserInfoRequestValidationError) Error ¶
func (e UpdateUserInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserInfoRequestValidationError) ErrorName ¶
func (e UpdateUserInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserInfoRequestValidationError) Field ¶
func (e UpdateUserInfoRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserInfoRequestValidationError) Key ¶
func (e UpdateUserInfoRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserInfoRequestValidationError) Reason ¶
func (e UpdateUserInfoRequestValidationError) Reason() string
Reason function returns reason value.
type UserServiceClient ¶
type UserServiceClient interface { ApiMailVerifyCode(ctx context.Context, in *MailVerifyCodeRequest, opts ...grpc.CallOption) (*MailVerifyCodeReply, error) ApiRegister(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*LoginReply, error) ApiLogin(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginReply, error) ApiLogout(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*Reply, error) ApiResetPwd(ctx context.Context, in *ResetPwdRequest, opts ...grpc.CallOption) (*Reply, error) ApiResetPwdNoLogin(ctx context.Context, in *ResetPwdNoLoginRequest, opts ...grpc.CallOption) (*Reply, error) ApiUpdateUserInfo(ctx context.Context, in *UpdateUserInfoRequest, opts ...grpc.CallOption) (*UpdateUserInfoReply, error) ApiProxyApply(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*Reply, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { ApiMailVerifyCode(context.Context, *MailVerifyCodeRequest) (*MailVerifyCodeReply, error) ApiRegister(context.Context, *RegisterRequest) (*LoginReply, error) ApiLogin(context.Context, *LoginRequest) (*LoginReply, error) ApiLogout(context.Context, *EmptyRequest) (*Reply, error) ApiResetPwd(context.Context, *ResetPwdRequest) (*Reply, error) ApiResetPwdNoLogin(context.Context, *ResetPwdNoLoginRequest) (*Reply, error) ApiUpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoReply, error) ApiProxyApply(context.Context, *EmptyRequest) (*Reply, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type VerifyCodeType ¶
type VerifyCodeType int32
const ( VerifyCodeType_register VerifyCodeType = 0 VerifyCodeType_login VerifyCodeType = 1 )
func (VerifyCodeType) Descriptor ¶
func (VerifyCodeType) Descriptor() protoreflect.EnumDescriptor
func (VerifyCodeType) Enum ¶
func (x VerifyCodeType) Enum() *VerifyCodeType
func (VerifyCodeType) EnumDescriptor
deprecated
func (VerifyCodeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VerifyCodeType.Descriptor instead.
func (VerifyCodeType) Number ¶
func (x VerifyCodeType) Number() protoreflect.EnumNumber
func (VerifyCodeType) String ¶
func (x VerifyCodeType) String() string
func (VerifyCodeType) Type ¶
func (VerifyCodeType) Type() protoreflect.EnumType
type VerifyType ¶
type VerifyType int32
const ( VerifyType_email VerifyType = 0 VerifyType_phone VerifyType = 1 )
func (VerifyType) Descriptor ¶
func (VerifyType) Descriptor() protoreflect.EnumDescriptor
func (VerifyType) Enum ¶
func (x VerifyType) Enum() *VerifyType
func (VerifyType) EnumDescriptor
deprecated
func (VerifyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VerifyType.Descriptor instead.
func (VerifyType) Number ¶
func (x VerifyType) Number() protoreflect.EnumNumber
func (VerifyType) String ¶
func (x VerifyType) String() string
func (VerifyType) Type ¶
func (VerifyType) Type() protoreflect.EnumType
Source Files ¶
- collector.pb.go
- collector.pb.validate.go
- collector_grpc.pb.go
- common.pb.go
- common.pb.validate.go
- common_grpc.pb.go
- currency.pb.go
- currency.pb.gw.go
- currency.pb.validate.go
- currency_grpc.pb.go
- health.pb.go
- health.pb.validate.go
- health_grpc.pb.go
- hello-world.pb.go
- hello-world.pb.gw.go
- hello-world.pb.validate.go
- hello-world_grpc.pb.go
- order.pb.go
- order.pb.validate.go
- order_grpc.pb.go
- ping.pb.go
- ping.pb.validate.go
- ping_grpc.pb.go
- trading-token.pb.go
- trading-token.pb.gw.go
- trading-token.pb.validate.go
- trading-token_grpc.pb.go
- user.pb.go
- user.pb.gw.go
- user.pb.validate.go
- user_grpc.pb.go