Documentation
¶
Index ¶
- Constants
- Variables
- type C2S
- func (*C2S) Descriptor() ([]byte, []int)deprecated
- func (x *C2S) GetPlaceHolder() int32
- func (x *C2S) GetSecurityList() []*qotcommon.Security
- func (x *C2S) GetTimeFilterList() []*TimeFilter
- func (x *C2S) GetTypeList() []int32
- func (*C2S) ProtoMessage()
- func (x *C2S) ProtoReflect() protoreflect.Message
- func (x *C2S) Reset()
- func (x *C2S) String() string
- type CodeChangeInfo
- func (*CodeChangeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CodeChangeInfo) GetEffectiveTime() string
- func (x *CodeChangeInfo) GetEffectiveTimestamp() float64
- func (x *CodeChangeInfo) GetEndTime() string
- func (x *CodeChangeInfo) GetEndTimestamp() float64
- func (x *CodeChangeInfo) GetPublicTime() string
- func (x *CodeChangeInfo) GetPublicTimestamp() float64
- func (x *CodeChangeInfo) GetRelatedSecurity() *qotcommon.Security
- func (x *CodeChangeInfo) GetSecurity() *qotcommon.Security
- func (x *CodeChangeInfo) GetType() int32
- func (*CodeChangeInfo) ProtoMessage()
- func (x *CodeChangeInfo) ProtoReflect() protoreflect.Message
- func (x *CodeChangeInfo) Reset()
- func (x *CodeChangeInfo) String() string
- type CodeChangeType
- func (CodeChangeType) Descriptor() protoreflect.EnumDescriptor
- func (x CodeChangeType) Enum() *CodeChangeType
- func (CodeChangeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CodeChangeType) Number() protoreflect.EnumNumber
- func (x CodeChangeType) String() string
- func (CodeChangeType) Type() protoreflect.EnumType
- func (x *CodeChangeType) UnmarshalJSON(b []byte) errordeprecated
- type Request
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetErrCode() int32
- func (x *Response) GetRetMsg() string
- func (x *Response) GetRetType() int32
- func (x *Response) GetS2C() *S2C
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type S2C
- type TimeFilter
- func (*TimeFilter) Descriptor() ([]byte, []int)deprecated
- func (x *TimeFilter) GetBeginTime() string
- func (x *TimeFilter) GetEndTime() string
- func (x *TimeFilter) GetType() int32
- func (*TimeFilter) ProtoMessage()
- func (x *TimeFilter) ProtoReflect() protoreflect.Message
- func (x *TimeFilter) Reset()
- func (x *TimeFilter) String() string
- type TimeFilterType
- func (TimeFilterType) Descriptor() protoreflect.EnumDescriptor
- func (x TimeFilterType) Enum() *TimeFilterType
- func (TimeFilterType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TimeFilterType) Number() protoreflect.EnumNumber
- func (x TimeFilterType) String() string
- func (TimeFilterType) Type() protoreflect.EnumType
- func (x *TimeFilterType) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
View Source
const (
Default_Response_RetType = int32(-400)
)
Default values for Response fields.
Variables ¶
View Source
var ( CodeChangeType_name = map[int32]string{ 0: "CodeChangeType_Unkown", 1: "CodeChangeType_GemToMain", 2: "CodeChangeType_Unpaid", 3: "CodeChangeType_ChangeLot", 4: "CodeChangeType_Split", 5: "CodeChangeType_Joint", 6: "CodeChangeType_JointSplit", 7: "CodeChangeType_SplitJoint", 8: "CodeChangeType_Other", } CodeChangeType_value = map[string]int32{ "CodeChangeType_Unkown": 0, "CodeChangeType_GemToMain": 1, "CodeChangeType_Unpaid": 2, "CodeChangeType_ChangeLot": 3, "CodeChangeType_Split": 4, "CodeChangeType_Joint": 5, "CodeChangeType_JointSplit": 6, "CodeChangeType_SplitJoint": 7, "CodeChangeType_Other": 8, } )
Enum value maps for CodeChangeType.
View Source
var ( TimeFilterType_name = map[int32]string{ 0: "TimeFilterType_Unknow", 1: "TimeFilterType_Public", 2: "TimeFilterType_Effective", 3: "TimeFilterType_End", } TimeFilterType_value = map[string]int32{ "TimeFilterType_Unknow": 0, "TimeFilterType_Public": 1, "TimeFilterType_Effective": 2, "TimeFilterType_End": 3, } )
Enum value maps for TimeFilterType.
View Source
var File_Qot_GetCodeChange_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type C2S ¶
type C2S struct { PlaceHolder *int32 `protobuf:"varint,1,opt,name=placeHolder" json:"placeHolder,omitempty"` //占位 SecurityList []*qotcommon.Security `protobuf:"bytes,2,rep,name=securityList" json:"securityList,omitempty"` //根据股票筛选 TimeFilterList []*TimeFilter `protobuf:"bytes,3,rep,name=timeFilterList" json:"timeFilterList,omitempty"` //根据时间筛选 TypeList []int32 `protobuf:"varint,4,rep,name=typeList" json:"typeList,omitempty"` //CodeChangeType,根据类型筛选 // contains filtered or unexported fields }
func (*C2S) Descriptor
deprecated
func (*C2S) GetPlaceHolder ¶
func (*C2S) GetSecurityList ¶
func (*C2S) GetTimeFilterList ¶
func (x *C2S) GetTimeFilterList() []*TimeFilter
func (*C2S) GetTypeList ¶
func (*C2S) ProtoMessage ¶
func (*C2S) ProtoMessage()
func (*C2S) ProtoReflect ¶
func (x *C2S) ProtoReflect() protoreflect.Message
type CodeChangeInfo ¶
type CodeChangeInfo struct { Type *int32 `protobuf:"varint,1,req,name=type" json:"type,omitempty"` //CodeChangeType,代码变化或者新增临时代码的事件类型 Security *qotcommon.Security `protobuf:"bytes,2,req,name=security" json:"security,omitempty"` //主代码,在创业板转主板中表示主板 RelatedSecurity *qotcommon.Security `protobuf:"bytes,3,req,name=relatedSecurity" json:"relatedSecurity,omitempty"` //关联代码,在创业板转主板中表示创业板,在剩余事件中表示临时代码 PublicTime *string `protobuf:"bytes,4,opt,name=publicTime" json:"publicTime,omitempty"` //公布时间 PublicTimestamp *float64 `protobuf:"fixed64,5,opt,name=publicTimestamp" json:"publicTimestamp,omitempty"` //公布时间戳 EffectiveTime *string `protobuf:"bytes,6,opt,name=effectiveTime" json:"effectiveTime,omitempty"` //生效时间 EffectiveTimestamp *float64 `protobuf:"fixed64,7,opt,name=effectiveTimestamp" json:"effectiveTimestamp,omitempty"` //生效时间戳 EndTime *string `protobuf:"bytes,8,opt,name=endTime" json:"endTime,omitempty"` //结束时间,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间 EndTimestamp *float64 `protobuf:"fixed64,9,opt,name=endTimestamp" json:"endTimestamp,omitempty"` //结束时间戳,在创业板转主板事件不存在该字段,在剩余事件表示临时代码交易结束时间 // contains filtered or unexported fields }
func (*CodeChangeInfo) Descriptor
deprecated
func (*CodeChangeInfo) Descriptor() ([]byte, []int)
Deprecated: Use CodeChangeInfo.ProtoReflect.Descriptor instead.
func (*CodeChangeInfo) GetEffectiveTime ¶
func (x *CodeChangeInfo) GetEffectiveTime() string
func (*CodeChangeInfo) GetEffectiveTimestamp ¶
func (x *CodeChangeInfo) GetEffectiveTimestamp() float64
func (*CodeChangeInfo) GetEndTime ¶
func (x *CodeChangeInfo) GetEndTime() string
func (*CodeChangeInfo) GetEndTimestamp ¶
func (x *CodeChangeInfo) GetEndTimestamp() float64
func (*CodeChangeInfo) GetPublicTime ¶
func (x *CodeChangeInfo) GetPublicTime() string
func (*CodeChangeInfo) GetPublicTimestamp ¶
func (x *CodeChangeInfo) GetPublicTimestamp() float64
func (*CodeChangeInfo) GetRelatedSecurity ¶
func (x *CodeChangeInfo) GetRelatedSecurity() *qotcommon.Security
func (*CodeChangeInfo) GetSecurity ¶
func (x *CodeChangeInfo) GetSecurity() *qotcommon.Security
func (*CodeChangeInfo) GetType ¶
func (x *CodeChangeInfo) GetType() int32
func (*CodeChangeInfo) ProtoMessage ¶
func (*CodeChangeInfo) ProtoMessage()
func (*CodeChangeInfo) ProtoReflect ¶
func (x *CodeChangeInfo) ProtoReflect() protoreflect.Message
func (*CodeChangeInfo) Reset ¶
func (x *CodeChangeInfo) Reset()
func (*CodeChangeInfo) String ¶
func (x *CodeChangeInfo) String() string
type CodeChangeType ¶
type CodeChangeType int32
const ( CodeChangeType_CodeChangeType_Unkown CodeChangeType = 0 //未知 CodeChangeType_CodeChangeType_GemToMain CodeChangeType = 1 //创业板转主板 CodeChangeType_CodeChangeType_Unpaid CodeChangeType = 2 //买卖未缴款供股权 CodeChangeType_CodeChangeType_ChangeLot CodeChangeType = 3 //更改买卖单位 CodeChangeType_CodeChangeType_Split CodeChangeType = 4 //拆股 CodeChangeType_CodeChangeType_Joint CodeChangeType = 5 //合股 CodeChangeType_CodeChangeType_JointSplit CodeChangeType = 6 //股份先并后拆 CodeChangeType_CodeChangeType_SplitJoint CodeChangeType = 7 //股份先拆后并 CodeChangeType_CodeChangeType_Other CodeChangeType = 8 //其他 )
func (CodeChangeType) Descriptor ¶
func (CodeChangeType) Descriptor() protoreflect.EnumDescriptor
func (CodeChangeType) Enum ¶
func (x CodeChangeType) Enum() *CodeChangeType
func (CodeChangeType) EnumDescriptor
deprecated
func (CodeChangeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CodeChangeType.Descriptor instead.
func (CodeChangeType) Number ¶
func (x CodeChangeType) Number() protoreflect.EnumNumber
func (CodeChangeType) String ¶
func (x CodeChangeType) String() string
func (CodeChangeType) Type ¶
func (CodeChangeType) Type() protoreflect.EnumType
func (*CodeChangeType) UnmarshalJSON
deprecated
func (x *CodeChangeType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Request ¶
type Request struct { C2S *C2S `protobuf:"bytes,1,req,name=c2s" json:"c2s,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { RetType *int32 `protobuf:"varint,1,req,name=retType,def=-400" json:"retType,omitempty"` //RetType,返回结果 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"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetErrCode ¶
func (*Response) GetRetType ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type S2C ¶
type S2C struct { CodeChangeList []*CodeChangeInfo `protobuf:"bytes,1,rep,name=codeChangeList" json:"codeChangeList,omitempty"` //股票代码更换信息,目前仅有港股数据 // contains filtered or unexported fields }
func (*S2C) Descriptor
deprecated
func (*S2C) GetCodeChangeList ¶
func (x *S2C) GetCodeChangeList() []*CodeChangeInfo
func (*S2C) ProtoMessage ¶
func (*S2C) ProtoMessage()
func (*S2C) ProtoReflect ¶
func (x *S2C) ProtoReflect() protoreflect.Message
type TimeFilter ¶
type TimeFilter struct { Type *int32 `protobuf:"varint,1,req,name=type" json:"type,omitempty"` //TimeFilterType, 过滤类型 BeginTime *string `protobuf:"bytes,2,opt,name=beginTime" json:"beginTime,omitempty"` //开始时间点 EndTime *string `protobuf:"bytes,3,opt,name=endTime" json:"endTime,omitempty"` //结束时间点 // contains filtered or unexported fields }
func (*TimeFilter) Descriptor
deprecated
func (*TimeFilter) Descriptor() ([]byte, []int)
Deprecated: Use TimeFilter.ProtoReflect.Descriptor instead.
func (*TimeFilter) GetBeginTime ¶
func (x *TimeFilter) GetBeginTime() string
func (*TimeFilter) GetEndTime ¶
func (x *TimeFilter) GetEndTime() string
func (*TimeFilter) GetType ¶
func (x *TimeFilter) GetType() int32
func (*TimeFilter) ProtoMessage ¶
func (*TimeFilter) ProtoMessage()
func (*TimeFilter) ProtoReflect ¶
func (x *TimeFilter) ProtoReflect() protoreflect.Message
func (*TimeFilter) Reset ¶
func (x *TimeFilter) Reset()
func (*TimeFilter) String ¶
func (x *TimeFilter) String() string
type TimeFilterType ¶
type TimeFilterType int32
const ( TimeFilterType_TimeFilterType_Unknow TimeFilterType = 0 TimeFilterType_TimeFilterType_Public TimeFilterType = 1 //根据公布时间过滤 TimeFilterType_TimeFilterType_Effective TimeFilterType = 2 //根据生效时间过滤 TimeFilterType_TimeFilterType_End TimeFilterType = 3 //根据结束时间过滤 )
func (TimeFilterType) Descriptor ¶
func (TimeFilterType) Descriptor() protoreflect.EnumDescriptor
func (TimeFilterType) Enum ¶
func (x TimeFilterType) Enum() *TimeFilterType
func (TimeFilterType) EnumDescriptor
deprecated
func (TimeFilterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimeFilterType.Descriptor instead.
func (TimeFilterType) Number ¶
func (x TimeFilterType) Number() protoreflect.EnumNumber
func (TimeFilterType) String ¶
func (x TimeFilterType) String() string
func (TimeFilterType) Type ¶
func (TimeFilterType) Type() protoreflect.EnumType
func (*TimeFilterType) UnmarshalJSON
deprecated
func (x *TimeFilterType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Click to show internal directories.
Click to hide internal directories.