Versions in this module Expand all Collapse all v8 v8.0.2 Jun 27, 2022 v8.0.1 Jun 27, 2022 Changes in this version + const DefaultCertName + const DefaultKeyName + var DefaultAppDirectory = dcrutil.AppDataDir("dcrrates", false) + func RegisterDCRRatesServer(s *grpc.Server, srv DCRRatesServer) + type DCRRatesClient interface + SubscribeExchanges func(ctx context.Context, in *ExchangeSubscription, opts ...grpc.CallOption) (DCRRates_SubscribeExchangesClient, error) + func NewDCRRatesClient(cc *grpc.ClientConn) DCRRatesClient + type DCRRatesServer interface + SubscribeExchanges func(*ExchangeSubscription, DCRRates_SubscribeExchangesServer) error + type DCRRates_SubscribeExchangesClient interface + Recv func() (*ExchangeRateUpdate, error) + type DCRRates_SubscribeExchangesServer interface + Send func(*ExchangeRateUpdate) error + type ExchangeRateUpdate struct + BaseVolume float64 + Candlesticks []*ExchangeRateUpdate_Candlesticks + Change float64 + Depth *ExchangeRateUpdate_DepthData + Indices map[string]float64 + Price float64 + Stamp int64 + Token string + Volume float64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ExchangeRateUpdate) Descriptor() ([]byte, []int) + func (*ExchangeRateUpdate) ProtoMessage() + func (dst *ExchangeRateUpdate) XXX_Merge(src proto.Message) + func (m *ExchangeRateUpdate) GetBaseVolume() float64 + func (m *ExchangeRateUpdate) GetCandlesticks() []*ExchangeRateUpdate_Candlesticks + func (m *ExchangeRateUpdate) GetChange() float64 + func (m *ExchangeRateUpdate) GetDepth() *ExchangeRateUpdate_DepthData + func (m *ExchangeRateUpdate) GetIndices() map[string]float64 + func (m *ExchangeRateUpdate) GetPrice() float64 + func (m *ExchangeRateUpdate) GetStamp() int64 + func (m *ExchangeRateUpdate) GetToken() string + func (m *ExchangeRateUpdate) GetVolume() float64 + func (m *ExchangeRateUpdate) Reset() + func (m *ExchangeRateUpdate) String() string + func (m *ExchangeRateUpdate) XXX_DiscardUnknown() + func (m *ExchangeRateUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExchangeRateUpdate) XXX_Size() int + func (m *ExchangeRateUpdate) XXX_Unmarshal(b []byte) error + type ExchangeRateUpdate_Candlestick struct + Close float64 + High float64 + Low float64 + Open float64 + Start int64 + Volume float64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ExchangeRateUpdate_Candlestick) Descriptor() ([]byte, []int) + func (*ExchangeRateUpdate_Candlestick) ProtoMessage() + func (dst *ExchangeRateUpdate_Candlestick) XXX_Merge(src proto.Message) + func (m *ExchangeRateUpdate_Candlestick) GetClose() float64 + func (m *ExchangeRateUpdate_Candlestick) GetHigh() float64 + func (m *ExchangeRateUpdate_Candlestick) GetLow() float64 + func (m *ExchangeRateUpdate_Candlestick) GetOpen() float64 + func (m *ExchangeRateUpdate_Candlestick) GetStart() int64 + func (m *ExchangeRateUpdate_Candlestick) GetVolume() float64 + func (m *ExchangeRateUpdate_Candlestick) Reset() + func (m *ExchangeRateUpdate_Candlestick) String() string + func (m *ExchangeRateUpdate_Candlestick) XXX_DiscardUnknown() + func (m *ExchangeRateUpdate_Candlestick) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExchangeRateUpdate_Candlestick) XXX_Size() int + func (m *ExchangeRateUpdate_Candlestick) XXX_Unmarshal(b []byte) error + type ExchangeRateUpdate_Candlesticks struct + Bin string + Sticks []*ExchangeRateUpdate_Candlestick + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ExchangeRateUpdate_Candlesticks) Descriptor() ([]byte, []int) + func (*ExchangeRateUpdate_Candlesticks) ProtoMessage() + func (dst *ExchangeRateUpdate_Candlesticks) XXX_Merge(src proto.Message) + func (m *ExchangeRateUpdate_Candlesticks) GetBin() string + func (m *ExchangeRateUpdate_Candlesticks) GetSticks() []*ExchangeRateUpdate_Candlestick + func (m *ExchangeRateUpdate_Candlesticks) Reset() + func (m *ExchangeRateUpdate_Candlesticks) String() string + func (m *ExchangeRateUpdate_Candlesticks) XXX_DiscardUnknown() + func (m *ExchangeRateUpdate_Candlesticks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExchangeRateUpdate_Candlesticks) XXX_Size() int + func (m *ExchangeRateUpdate_Candlesticks) XXX_Unmarshal(b []byte) error + type ExchangeRateUpdate_DepthData struct + Asks []*ExchangeRateUpdate_DepthPoint + Bids []*ExchangeRateUpdate_DepthPoint + Time int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ExchangeRateUpdate_DepthData) Descriptor() ([]byte, []int) + func (*ExchangeRateUpdate_DepthData) ProtoMessage() + func (dst *ExchangeRateUpdate_DepthData) XXX_Merge(src proto.Message) + func (m *ExchangeRateUpdate_DepthData) GetAsks() []*ExchangeRateUpdate_DepthPoint + func (m *ExchangeRateUpdate_DepthData) GetBids() []*ExchangeRateUpdate_DepthPoint + func (m *ExchangeRateUpdate_DepthData) GetTime() int64 + func (m *ExchangeRateUpdate_DepthData) Reset() + func (m *ExchangeRateUpdate_DepthData) String() string + func (m *ExchangeRateUpdate_DepthData) XXX_DiscardUnknown() + func (m *ExchangeRateUpdate_DepthData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExchangeRateUpdate_DepthData) XXX_Size() int + func (m *ExchangeRateUpdate_DepthData) XXX_Unmarshal(b []byte) error + type ExchangeRateUpdate_DepthPoint struct + Price float64 + Quantity float64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ExchangeRateUpdate_DepthPoint) Descriptor() ([]byte, []int) + func (*ExchangeRateUpdate_DepthPoint) ProtoMessage() + func (dst *ExchangeRateUpdate_DepthPoint) XXX_Merge(src proto.Message) + func (m *ExchangeRateUpdate_DepthPoint) GetPrice() float64 + func (m *ExchangeRateUpdate_DepthPoint) GetQuantity() float64 + func (m *ExchangeRateUpdate_DepthPoint) Reset() + func (m *ExchangeRateUpdate_DepthPoint) String() string + func (m *ExchangeRateUpdate_DepthPoint) XXX_DiscardUnknown() + func (m *ExchangeRateUpdate_DepthPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExchangeRateUpdate_DepthPoint) XXX_Size() int + func (m *ExchangeRateUpdate_DepthPoint) XXX_Unmarshal(b []byte) error + type ExchangeSubscription struct + BtcIndex string + Exchanges []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ExchangeSubscription) Descriptor() ([]byte, []int) + func (*ExchangeSubscription) ProtoMessage() + func (dst *ExchangeSubscription) XXX_Merge(src proto.Message) + func (m *ExchangeSubscription) GetBtcIndex() string + func (m *ExchangeSubscription) GetExchanges() []string + func (m *ExchangeSubscription) Reset() + func (m *ExchangeSubscription) String() string + func (m *ExchangeSubscription) XXX_DiscardUnknown() + func (m *ExchangeSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExchangeSubscription) XXX_Size() int + func (m *ExchangeSubscription) XXX_Unmarshal(b []byte) error Other modules containing this package github.com/Decred-Next/dcrndata/dcrrates/v8