Documentation
¶
Overview ¶
Package floatingquotes is a generated protocol buffer package.
It is generated from these files:
depot.proto
It has these top-level messages:
Quote FloatingAverage Depot
Index ¶
- Variables
- type Depot
- type FloatingAverage
- func (*FloatingAverage) Descriptor() ([]byte, []int)
- func (m *FloatingAverage) GetAlertState() FloatingAverage_AlertState
- func (m *FloatingAverage) GetClosingDate() int64
- func (m *FloatingAverage) GetDeviationThreshold() string
- func (m *FloatingAverage) GetId() string
- func (m *FloatingAverage) GetLatestAverage() string
- func (m *FloatingAverage) GetLatestQuoteValue() string
- func (m *FloatingAverage) GetMaxDaysCap() int32
- func (m *FloatingAverage) GetName() string
- func (m *FloatingAverage) GetQuotes() []*Quote
- func (m *FloatingAverage) GetSymbol() string
- func (*FloatingAverage) ProtoMessage()
- func (m *FloatingAverage) Reset()
- func (m *FloatingAverage) String() string
- type FloatingAverage_AlertState
- type Quote
Constants ¶
This section is empty.
Variables ¶
View Source
var FloatingAverage_AlertState_name = map[int32]string{
0: "NONE",
1: "BUY",
2: "SELL",
}
View Source
var FloatingAverage_AlertState_value = map[string]int32{
"NONE": 0,
"BUY": 1,
"SELL": 2,
}
Functions ¶
This section is empty.
Types ¶
type Depot ¶
type Depot struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` FloatingAverages []*FloatingAverage `protobuf:"bytes,2,rep,name=floatingAverages" json:"floatingAverages,omitempty"` }
func (*Depot) Descriptor ¶
func (*Depot) GetFloatingAverages ¶
func (m *Depot) GetFloatingAverages() []*FloatingAverage
func (*Depot) ProtoMessage ¶
func (*Depot) ProtoMessage()
type FloatingAverage ¶
type FloatingAverage struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Symbol string `protobuf:"bytes,3,opt,name=symbol" json:"symbol,omitempty"` MaxDaysCap int32 `protobuf:"varint,4,opt,name=maxDaysCap" json:"maxDaysCap,omitempty"` Quotes []*Quote `protobuf:"bytes,5,rep,name=quotes" json:"quotes,omitempty"` DeviationThreshold string `protobuf:"bytes,6,opt,name=deviationThreshold" json:"deviationThreshold,omitempty"` LatestAverage string `protobuf:"bytes,7,opt,name=latestAverage" json:"latestAverage,omitempty"` LatestQuoteValue string `protobuf:"bytes,8,opt,name=latestQuoteValue" json:"latestQuoteValue,omitempty"` ClosingDate int64 `protobuf:"varint,9,opt,name=closingDate" json:"closingDate,omitempty"` AlertState FloatingAverage_AlertState `protobuf:"varint,10,opt,name=alertState,enum=floatingquotes.FloatingAverage_AlertState" json:"alertState,omitempty"` }
func (*FloatingAverage) Descriptor ¶
func (*FloatingAverage) Descriptor() ([]byte, []int)
func (*FloatingAverage) GetAlertState ¶
func (m *FloatingAverage) GetAlertState() FloatingAverage_AlertState
func (*FloatingAverage) GetClosingDate ¶
func (m *FloatingAverage) GetClosingDate() int64
func (*FloatingAverage) GetDeviationThreshold ¶
func (m *FloatingAverage) GetDeviationThreshold() string
func (*FloatingAverage) GetId ¶
func (m *FloatingAverage) GetId() string
func (*FloatingAverage) GetLatestAverage ¶
func (m *FloatingAverage) GetLatestAverage() string
func (*FloatingAverage) GetLatestQuoteValue ¶
func (m *FloatingAverage) GetLatestQuoteValue() string
func (*FloatingAverage) GetMaxDaysCap ¶
func (m *FloatingAverage) GetMaxDaysCap() int32
func (*FloatingAverage) GetName ¶
func (m *FloatingAverage) GetName() string
func (*FloatingAverage) GetQuotes ¶
func (m *FloatingAverage) GetQuotes() []*Quote
func (*FloatingAverage) GetSymbol ¶
func (m *FloatingAverage) GetSymbol() string
func (*FloatingAverage) ProtoMessage ¶
func (*FloatingAverage) ProtoMessage()
func (*FloatingAverage) Reset ¶
func (m *FloatingAverage) Reset()
func (*FloatingAverage) String ¶
func (m *FloatingAverage) String() string
type FloatingAverage_AlertState ¶
type FloatingAverage_AlertState int32
const ( FloatingAverage_NONE FloatingAverage_AlertState = 0 FloatingAverage_BUY FloatingAverage_AlertState = 1 FloatingAverage_SELL FloatingAverage_AlertState = 2 )
func (FloatingAverage_AlertState) EnumDescriptor ¶
func (FloatingAverage_AlertState) EnumDescriptor() ([]byte, []int)
func (FloatingAverage_AlertState) String ¶
func (x FloatingAverage_AlertState) String() string
type Quote ¶
type Quote struct { Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` Average string `protobuf:"bytes,2,opt,name=average" json:"average,omitempty"` UpdatedAt int64 `protobuf:"varint,3,opt,name=updatedAt" json:"updatedAt,omitempty"` }
func (*Quote) Descriptor ¶
func (*Quote) GetAverage ¶
func (*Quote) GetUpdatedAt ¶
func (*Quote) ProtoMessage ¶
func (*Quote) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.