Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CandleChannel ¶
type CandleChannel struct { Received chan *techan.Candle // contains filtered or unexported fields }
func NewCandleChannel ¶
func NewCandleChannel(bar, instID string) *CandleChannel
func (*CandleChannel) GetArg ¶
func (c *CandleChannel) GetArg() map[string]string
func (*CandleChannel) ReceiveData ¶
func (c *CandleChannel) ReceiveData(b []byte)
type ChannelSub ¶
type PublicChannel ¶
type PublicChannel[ReqType any, DataType any] struct { Req ReqType ReceivedCh chan *DataType Channel string }
func (*PublicChannel[T, Ch]) GetArg ¶
func (p *PublicChannel[T, Ch]) GetArg() map[string]string
func (*PublicChannel[T, Ch]) Init ¶
func (p *PublicChannel[T, Ch]) Init(name string, req T)
func (*PublicChannel[T, Ch]) ReceiveData ¶
func (p *PublicChannel[T, Ch]) ReceiveData(b []byte)
Click to show internal directories.
Click to hide internal directories.