Documentation ¶
Index ¶
- type GrpcConnection
- type ListingResult
- type ListingsResult
- type Source
- func (s *Source) GetListing(ctx context.Context, listingId int32, resultChan chan<- ListingResult)
- func (s *Source) GetListingMatching(ctx context.Context, matchParams *services.ExactMatchParameters, ...)
- func (s *Source) GetListingsWithSameInstrument(ctx context.Context, listingId int32, resultChan chan<- ListingsResult)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcConnection ¶
type GrpcConnection interface { GetState() connectivity.State WaitForStateChange(ctx context.Context, sourceState connectivity.State) bool }
type ListingResult ¶ added in v1.4.0
type ListingsResult ¶ added in v1.4.0
type Source ¶ added in v1.4.0
type Source struct {
// contains filtered or unexported fields
}
Source is a source of static data that fetches data asynchronously from the static data service and has in-built retry behaviour
func (*Source) GetListing ¶ added in v1.4.0
func (s *Source) GetListing(ctx context.Context, listingId int32, resultChan chan<- ListingResult)
func (*Source) GetListingMatching ¶ added in v1.4.0
func (s *Source) GetListingMatching(ctx context.Context, matchParams *services.ExactMatchParameters, resultChan chan<- ListingResult)
func (*Source) GetListingsWithSameInstrument ¶ added in v1.4.0
func (s *Source) GetListingsWithSameInstrument(ctx context.Context, listingId int32, resultChan chan<- ListingsResult)
Click to show internal directories.
Click to hide internal directories.