447 lines
17 KiB
Go
447 lines
17 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.1
|
||
// protoc v3.19.4
|
||
// source: generate/rpc/blockchain.proto
|
||
|
||
package app_cloudep_blockchain
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
)
|
||
|
||
const (
|
||
// Verify that this generated code is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
)
|
||
|
||
// OKResp
|
||
type OKResp struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *OKResp) Reset() {
|
||
*x = OKResp{}
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *OKResp) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*OKResp) ProtoMessage() {}
|
||
|
||
func (x *OKResp) ProtoReflect() protoreflect.Message {
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[0]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use OKResp.ProtoReflect.Descriptor instead.
|
||
func (*OKResp) Descriptor() ([]byte, []int) {
|
||
return file_generate_rpc_blockchain_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
// NoneReq
|
||
type NoneReq struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *NoneReq) Reset() {
|
||
*x = NoneReq{}
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *NoneReq) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*NoneReq) ProtoMessage() {}
|
||
|
||
func (x *NoneReq) ProtoReflect() protoreflect.Message {
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[1]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use NoneReq.ProtoReflect.Descriptor instead.
|
||
func (*NoneReq) Descriptor() ([]byte, []int) {
|
||
return file_generate_rpc_blockchain_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
// ListSymbolsRequest is the request for the ListSymbols RPC.
|
||
// It is currently empty but can be extended with filtering or pagination fields in the future.
|
||
type ListSymbolsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListSymbolsRequest) Reset() {
|
||
*x = ListSymbolsRequest{}
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListSymbolsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListSymbolsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListSymbolsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[2]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ListSymbolsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListSymbolsRequest) Descriptor() ([]byte, []int) {
|
||
return file_generate_rpc_blockchain_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
// ListSymbolsResponse contains a list of symbols.
|
||
type ListSymbolsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Symbols []*Symbol `protobuf:"bytes,1,rep,name=symbols,proto3" json:"symbols,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListSymbolsResponse) Reset() {
|
||
*x = ListSymbolsResponse{}
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListSymbolsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListSymbolsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListSymbolsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[3]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ListSymbolsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListSymbolsResponse) Descriptor() ([]byte, []int) {
|
||
return file_generate_rpc_blockchain_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *ListSymbolsResponse) GetSymbols() []*Symbol {
|
||
if x != nil {
|
||
return x.Symbols
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Symbol represents information about a trading pair.
|
||
type Symbol struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` // 交易對名稱 (BTCUSDT)
|
||
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // 狀態(如 "TRADING" 表示可交易)
|
||
BaseAsset string `protobuf:"bytes,3,opt,name=base_asset,json=baseAsset,proto3" json:"base_asset,omitempty"` // 主幣種(如 BTCUSDT 的 BTC)
|
||
BaseAssetPrecision int32 `protobuf:"varint,4,opt,name=base_asset_precision,json=baseAssetPrecision,proto3" json:"base_asset_precision,omitempty"` // 主幣的小數點精度
|
||
QuoteAsset string `protobuf:"bytes,5,opt,name=quote_asset,json=quoteAsset,proto3" json:"quote_asset,omitempty"` // 報價幣種(如 BTCUSDT 的 USDT)
|
||
QuoteAssetPrecision int32 `protobuf:"varint,6,opt,name=quote_asset_precision,json=quoteAssetPrecision,proto3" json:"quote_asset_precision,omitempty"` // 報價資產顯示的小數位數
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *Symbol) Reset() {
|
||
*x = Symbol{}
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *Symbol) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Symbol) ProtoMessage() {}
|
||
|
||
func (x *Symbol) ProtoReflect() protoreflect.Message {
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[4]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use Symbol.ProtoReflect.Descriptor instead.
|
||
func (*Symbol) Descriptor() ([]byte, []int) {
|
||
return file_generate_rpc_blockchain_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *Symbol) GetSymbol() string {
|
||
if x != nil {
|
||
return x.Symbol
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Symbol) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Symbol) GetBaseAsset() string {
|
||
if x != nil {
|
||
return x.BaseAsset
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Symbol) GetBaseAssetPrecision() int32 {
|
||
if x != nil {
|
||
return x.BaseAssetPrecision
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Symbol) GetQuoteAsset() string {
|
||
if x != nil {
|
||
return x.QuoteAsset
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Symbol) GetQuoteAssetPrecision() int32 {
|
||
if x != nil {
|
||
return x.QuoteAssetPrecision
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type HistoryReq struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` // 交易對名稱 (BTCUSDT)
|
||
Interval string `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` // 4h 1m 1d ...
|
||
StartTime string `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
||
EndTime string `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *HistoryReq) Reset() {
|
||
*x = HistoryReq{}
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *HistoryReq) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*HistoryReq) ProtoMessage() {}
|
||
|
||
func (x *HistoryReq) ProtoReflect() protoreflect.Message {
|
||
mi := &file_generate_rpc_blockchain_proto_msgTypes[5]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use HistoryReq.ProtoReflect.Descriptor instead.
|
||
func (*HistoryReq) Descriptor() ([]byte, []int) {
|
||
return file_generate_rpc_blockchain_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *HistoryReq) GetSymbol() string {
|
||
if x != nil {
|
||
return x.Symbol
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *HistoryReq) GetInterval() string {
|
||
if x != nil {
|
||
return x.Interval
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *HistoryReq) GetStartTime() string {
|
||
if x != nil {
|
||
return x.StartTime
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *HistoryReq) GetEndTime() string {
|
||
if x != nil {
|
||
return x.EndTime
|
||
}
|
||
return ""
|
||
}
|
||
|
||
var File_generate_rpc_blockchain_proto protoreflect.FileDescriptor
|
||
|
||
var file_generate_rpc_blockchain_proto_rawDesc = []byte{
|
||
0x0a, 0x1d, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x62,
|
||
0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||
0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x22, 0x08, 0x0a, 0x06, 0x4f,
|
||
0x4b, 0x52, 0x65, 0x73, 0x70, 0x22, 0x09, 0x0a, 0x07, 0x4e, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71,
|
||
0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x52,
|
||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x43, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79,
|
||
0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a,
|
||
0x07, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,
|
||
0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x53, 0x79, 0x6d, 0x62,
|
||
0x6f, 0x6c, 0x52, 0x07, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x22, 0xde, 0x01, 0x0a, 0x06,
|
||
0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x16,
|
||
0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
||
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x61,
|
||
0x73, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x73, 0x65,
|
||
0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x61, 0x73,
|
||
0x73, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x12, 0x62, 0x61, 0x73, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72,
|
||
0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65,
|
||
0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75,
|
||
0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x71, 0x75, 0x6f, 0x74,
|
||
0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f,
|
||
0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x41, 0x73,
|
||
0x73, 0x65, 0x74, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x7a, 0x0a, 0x0a,
|
||
0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79,
|
||
0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x6d, 0x62,
|
||
0x6f, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02,
|
||
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x1d,
|
||
0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
|
||
0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a,
|
||
0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x32, 0xd7, 0x01, 0x0a, 0x11, 0x42, 0x6c, 0x6f,
|
||
0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4e,
|
||
0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x12, 0x1e, 0x2e,
|
||
0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53,
|
||
0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,
|
||
0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53,
|
||
0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41,
|
||
0x0a, 0x13, 0x47, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4b, 0x6c, 0x69, 0x6e,
|
||
0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61,
|
||
0x69, 0x6e, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e,
|
||
0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4f, 0x4b, 0x52, 0x65, 0x73,
|
||
0x70, 0x12, 0x2f, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x13, 0x2e, 0x62, 0x6c, 0x6f, 0x63,
|
||
0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x12,
|
||
0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4f, 0x4b, 0x52, 0x65,
|
||
0x73, 0x70, 0x42, 0x2e, 0x5a, 0x2c, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x33, 0x30, 0x63, 0x6d, 0x2e,
|
||
0x6e, 0x65, 0x74, 0x2f, 0x64, 0x69, 0x67, 0x69, 0x6d, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x70, 0x2d,
|
||
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x70, 0x2d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61,
|
||
0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_generate_rpc_blockchain_proto_rawDescOnce sync.Once
|
||
file_generate_rpc_blockchain_proto_rawDescData = file_generate_rpc_blockchain_proto_rawDesc
|
||
)
|
||
|
||
func file_generate_rpc_blockchain_proto_rawDescGZIP() []byte {
|
||
file_generate_rpc_blockchain_proto_rawDescOnce.Do(func() {
|
||
file_generate_rpc_blockchain_proto_rawDescData = protoimpl.X.CompressGZIP(file_generate_rpc_blockchain_proto_rawDescData)
|
||
})
|
||
return file_generate_rpc_blockchain_proto_rawDescData
|
||
}
|
||
|
||
var file_generate_rpc_blockchain_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||
var file_generate_rpc_blockchain_proto_goTypes = []any{
|
||
(*OKResp)(nil), // 0: blockchain.OKResp
|
||
(*NoneReq)(nil), // 1: blockchain.NoneReq
|
||
(*ListSymbolsRequest)(nil), // 2: blockchain.ListSymbolsRequest
|
||
(*ListSymbolsResponse)(nil), // 3: blockchain.ListSymbolsResponse
|
||
(*Symbol)(nil), // 4: blockchain.Symbol
|
||
(*HistoryReq)(nil), // 5: blockchain.HistoryReq
|
||
}
|
||
var file_generate_rpc_blockchain_proto_depIdxs = []int32{
|
||
4, // 0: blockchain.ListSymbolsResponse.symbols:type_name -> blockchain.Symbol
|
||
2, // 1: blockchain.BlockchainService.ListSymbols:input_type -> blockchain.ListSymbolsRequest
|
||
5, // 2: blockchain.BlockchainService.GetHistoryKlineData:input_type -> blockchain.HistoryReq
|
||
1, // 3: blockchain.BlockchainService.Ping:input_type -> blockchain.NoneReq
|
||
3, // 4: blockchain.BlockchainService.ListSymbols:output_type -> blockchain.ListSymbolsResponse
|
||
0, // 5: blockchain.BlockchainService.GetHistoryKlineData:output_type -> blockchain.OKResp
|
||
0, // 6: blockchain.BlockchainService.Ping:output_type -> blockchain.OKResp
|
||
4, // [4:7] is the sub-list for method output_type
|
||
1, // [1:4] is the sub-list for method input_type
|
||
1, // [1:1] is the sub-list for extension type_name
|
||
1, // [1:1] is the sub-list for extension extendee
|
||
0, // [0:1] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_generate_rpc_blockchain_proto_init() }
|
||
func file_generate_rpc_blockchain_proto_init() {
|
||
if File_generate_rpc_blockchain_proto != nil {
|
||
return
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: file_generate_rpc_blockchain_proto_rawDesc,
|
||
NumEnums: 0,
|
||
NumMessages: 6,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_generate_rpc_blockchain_proto_goTypes,
|
||
DependencyIndexes: file_generate_rpc_blockchain_proto_depIdxs,
|
||
MessageInfos: file_generate_rpc_blockchain_proto_msgTypes,
|
||
}.Build()
|
||
File_generate_rpc_blockchain_proto = out.File
|
||
file_generate_rpc_blockchain_proto_rawDesc = nil
|
||
file_generate_rpc_blockchain_proto_goTypes = nil
|
||
file_generate_rpc_blockchain_proto_depIdxs = nil
|
||
}
|