Documentation ¶
Index ¶
- Constants
- Variables
- type C2S
- func (*C2S) Descriptor() ([]byte, []int)
- func (m *C2S) GetKlType() int32
- func (m *C2S) GetMaxReqSecurityNum() int32
- func (m *C2S) GetNeedKLFieldsFlag() int64
- func (m *C2S) GetNoDataMode() int32
- func (m *C2S) GetRehabType() int32
- func (m *C2S) GetSecurityList() []*Qot_Common.Security
- func (m *C2S) GetTimeList() []string
- func (*C2S) ProtoMessage()
- func (m *C2S) Reset()
- func (m *C2S) String() string
- func (m *C2S) XXX_DiscardUnknown()
- func (m *C2S) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *C2S) XXX_Merge(src proto.Message)
- func (m *C2S) XXX_Size() int
- func (m *C2S) XXX_Unmarshal(b []byte) error
- type DataStatus
- type HistoryPointsKL
- func (*HistoryPointsKL) Descriptor() ([]byte, []int)
- func (m *HistoryPointsKL) GetKl() *Qot_Common.KLine
- func (m *HistoryPointsKL) GetReqTime() string
- func (m *HistoryPointsKL) GetStatus() int32
- func (*HistoryPointsKL) ProtoMessage()
- func (m *HistoryPointsKL) Reset()
- func (m *HistoryPointsKL) String() string
- func (m *HistoryPointsKL) XXX_DiscardUnknown()
- func (m *HistoryPointsKL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HistoryPointsKL) XXX_Merge(src proto.Message)
- func (m *HistoryPointsKL) XXX_Size() int
- func (m *HistoryPointsKL) XXX_Unmarshal(b []byte) error
- type NoDataMode
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetC2S() *C2S
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetErrCode() int32
- func (m *Response) GetRetMsg() string
- func (m *Response) GetRetType() int32
- func (m *Response) GetS2C() *S2C
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type S2C
- func (*S2C) Descriptor() ([]byte, []int)
- func (m *S2C) GetHasNext() bool
- func (m *S2C) GetKlPointList() []*SecurityHistoryKLPoints
- func (*S2C) ProtoMessage()
- func (m *S2C) Reset()
- func (m *S2C) String() string
- func (m *S2C) XXX_DiscardUnknown()
- func (m *S2C) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *S2C) XXX_Merge(src proto.Message)
- func (m *S2C) XXX_Size() int
- func (m *S2C) XXX_Unmarshal(b []byte) error
- type SecurityHistoryKLPoints
- func (*SecurityHistoryKLPoints) Descriptor() ([]byte, []int)
- func (m *SecurityHistoryKLPoints) GetKlList() []*HistoryPointsKL
- func (m *SecurityHistoryKLPoints) GetSecurity() *Qot_Common.Security
- func (*SecurityHistoryKLPoints) ProtoMessage()
- func (m *SecurityHistoryKLPoints) Reset()
- func (m *SecurityHistoryKLPoints) String() string
- func (m *SecurityHistoryKLPoints) XXX_DiscardUnknown()
- func (m *SecurityHistoryKLPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SecurityHistoryKLPoints) XXX_Merge(src proto.Message)
- func (m *SecurityHistoryKLPoints) XXX_Size() int
- func (m *SecurityHistoryKLPoints) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const Default_Response_RetType int32 = -400
Variables ¶
View Source
var DataStatus_name = map[int32]string{
0: "DataStatus_Null",
1: "DataStatus_Current",
2: "DataStatus_Previous",
3: "DataStatus_Back",
}
View Source
var DataStatus_value = map[string]int32{
"DataStatus_Null": 0,
"DataStatus_Current": 1,
"DataStatus_Previous": 2,
"DataStatus_Back": 3,
}
View Source
var NoDataMode_name = map[int32]string{
0: "NoDataMode_Null",
1: "NoDataMode_Forward",
2: "NoDataMode_Backward",
}
View Source
var NoDataMode_value = map[string]int32{
"NoDataMode_Null": 0,
"NoDataMode_Forward": 1,
"NoDataMode_Backward": 2,
}
Functions ¶
This section is empty.
Types ¶
type C2S ¶
type C2S struct { RehabType *int32 `protobuf:"varint,1,req,name=rehabType" json:"rehabType,omitempty"` KlType *int32 `protobuf:"varint,2,req,name=klType" json:"klType,omitempty"` NoDataMode *int32 `protobuf:"varint,3,req,name=noDataMode" json:"noDataMode,omitempty"` SecurityList []*Qot_Common.Security `protobuf:"bytes,4,rep,name=securityList" json:"securityList,omitempty"` TimeList []string `protobuf:"bytes,5,rep,name=timeList" json:"timeList,omitempty"` MaxReqSecurityNum *int32 `protobuf:"varint,6,opt,name=maxReqSecurityNum" json:"maxReqSecurityNum,omitempty"` NeedKLFieldsFlag *int64 `protobuf:"varint,7,opt,name=needKLFieldsFlag" json:"needKLFieldsFlag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*C2S) Descriptor ¶
func (*C2S) GetMaxReqSecurityNum ¶
func (*C2S) GetNeedKLFieldsFlag ¶
func (*C2S) GetNoDataMode ¶
func (*C2S) GetRehabType ¶
func (*C2S) GetSecurityList ¶
func (m *C2S) GetSecurityList() []*Qot_Common.Security
func (*C2S) GetTimeList ¶
func (*C2S) ProtoMessage ¶
func (*C2S) ProtoMessage()
func (*C2S) XXX_DiscardUnknown ¶
func (m *C2S) XXX_DiscardUnknown()
func (*C2S) XXX_Unmarshal ¶
type DataStatus ¶
type DataStatus int32
这个时间点返回数据的状态以及来源
const ( DataStatus_DataStatus_Null DataStatus = 0 DataStatus_DataStatus_Current DataStatus = 1 DataStatus_DataStatus_Previous DataStatus = 2 DataStatus_DataStatus_Back DataStatus = 3 )
func (DataStatus) Enum ¶
func (x DataStatus) Enum() *DataStatus
func (DataStatus) EnumDescriptor ¶
func (DataStatus) EnumDescriptor() ([]byte, []int)
func (DataStatus) String ¶
func (x DataStatus) String() string
func (*DataStatus) UnmarshalJSON ¶
func (x *DataStatus) UnmarshalJSON(data []byte) error
type HistoryPointsKL ¶
type HistoryPointsKL struct { Status *int32 `protobuf:"varint,1,req,name=status" json:"status,omitempty"` ReqTime *string `protobuf:"bytes,2,req,name=reqTime" json:"reqTime,omitempty"` Kl *Qot_Common.KLine `protobuf:"bytes,3,req,name=kl" json:"kl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HistoryPointsKL) Descriptor ¶
func (*HistoryPointsKL) Descriptor() ([]byte, []int)
func (*HistoryPointsKL) GetKl ¶
func (m *HistoryPointsKL) GetKl() *Qot_Common.KLine
func (*HistoryPointsKL) GetReqTime ¶
func (m *HistoryPointsKL) GetReqTime() string
func (*HistoryPointsKL) GetStatus ¶
func (m *HistoryPointsKL) GetStatus() int32
func (*HistoryPointsKL) ProtoMessage ¶
func (*HistoryPointsKL) ProtoMessage()
func (*HistoryPointsKL) Reset ¶
func (m *HistoryPointsKL) Reset()
func (*HistoryPointsKL) String ¶
func (m *HistoryPointsKL) String() string
func (*HistoryPointsKL) XXX_DiscardUnknown ¶
func (m *HistoryPointsKL) XXX_DiscardUnknown()
func (*HistoryPointsKL) XXX_Marshal ¶
func (m *HistoryPointsKL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HistoryPointsKL) XXX_Merge ¶
func (dst *HistoryPointsKL) XXX_Merge(src proto.Message)
func (*HistoryPointsKL) XXX_Size ¶
func (m *HistoryPointsKL) XXX_Size() int
func (*HistoryPointsKL) XXX_Unmarshal ¶
func (m *HistoryPointsKL) XXX_Unmarshal(b []byte) error
type NoDataMode ¶
type NoDataMode int32
当请求时间点数据为空时,如何返回数据
const ( NoDataMode_NoDataMode_Null NoDataMode = 0 NoDataMode_NoDataMode_Forward NoDataMode = 1 NoDataMode_NoDataMode_Backward NoDataMode = 2 )
func (NoDataMode) Enum ¶
func (x NoDataMode) Enum() *NoDataMode
func (NoDataMode) EnumDescriptor ¶
func (NoDataMode) EnumDescriptor() ([]byte, []int)
func (NoDataMode) String ¶
func (x NoDataMode) String() string
func (*NoDataMode) UnmarshalJSON ¶
func (x *NoDataMode) UnmarshalJSON(data []byte) error
type Request ¶
type Request struct { C2S *C2S `protobuf:"bytes,1,req,name=c2s" json:"c2s,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type Response ¶
type Response struct { RetType *int32 `protobuf:"varint,1,req,name=retType,def=-400" json:"retType,omitempty"` RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"` ErrCode *int32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` S2C *S2C `protobuf:"bytes,4,opt,name=s2c" json:"s2c,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) GetErrCode ¶
func (*Response) GetRetType ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type S2C ¶
type S2C struct { KlPointList []*SecurityHistoryKLPoints `protobuf:"bytes,1,rep,name=klPointList" json:"klPointList,omitempty"` HasNext *bool `protobuf:"varint,2,opt,name=hasNext" json:"hasNext,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*S2C) Descriptor ¶
func (*S2C) GetHasNext ¶
func (*S2C) GetKlPointList ¶
func (m *S2C) GetKlPointList() []*SecurityHistoryKLPoints
func (*S2C) ProtoMessage ¶
func (*S2C) ProtoMessage()
func (*S2C) XXX_DiscardUnknown ¶
func (m *S2C) XXX_DiscardUnknown()
func (*S2C) XXX_Unmarshal ¶
type SecurityHistoryKLPoints ¶
type SecurityHistoryKLPoints struct { Security *Qot_Common.Security `protobuf:"bytes,1,req,name=security" json:"security,omitempty"` KlList []*HistoryPointsKL `protobuf:"bytes,2,rep,name=klList" json:"klList,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SecurityHistoryKLPoints) Descriptor ¶
func (*SecurityHistoryKLPoints) Descriptor() ([]byte, []int)
func (*SecurityHistoryKLPoints) GetKlList ¶
func (m *SecurityHistoryKLPoints) GetKlList() []*HistoryPointsKL
func (*SecurityHistoryKLPoints) GetSecurity ¶
func (m *SecurityHistoryKLPoints) GetSecurity() *Qot_Common.Security
func (*SecurityHistoryKLPoints) ProtoMessage ¶
func (*SecurityHistoryKLPoints) ProtoMessage()
func (*SecurityHistoryKLPoints) Reset ¶
func (m *SecurityHistoryKLPoints) Reset()
func (*SecurityHistoryKLPoints) String ¶
func (m *SecurityHistoryKLPoints) String() string
func (*SecurityHistoryKLPoints) XXX_DiscardUnknown ¶
func (m *SecurityHistoryKLPoints) XXX_DiscardUnknown()
func (*SecurityHistoryKLPoints) XXX_Marshal ¶
func (m *SecurityHistoryKLPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SecurityHistoryKLPoints) XXX_Merge ¶
func (dst *SecurityHistoryKLPoints) XXX_Merge(src proto.Message)
func (*SecurityHistoryKLPoints) XXX_Size ¶
func (m *SecurityHistoryKLPoints) XXX_Size() int
func (*SecurityHistoryKLPoints) XXX_Unmarshal ¶
func (m *SecurityHistoryKLPoints) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.