package
Version:
v1.48.14
Opens a new window with list of versions in this module.
Published: Nov 28, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Input struct {
Symbols []string `json:"symbols"`
Multiplier uint64 `json:"multiplier"`
}
type Output struct {
Pxs []uint64 `json:"pxs"`
}
type Price struct {
Symbol string `json:"symbol"`
Multiplier uint64 `json:"multiplier"`
Px uint64 `json:"px"`
RequestID types.RequestID `json:"request_id"`
ResolveTime int64 `json:"resolve_time"`
}
type Response struct {
Symbol string `json:"symbol"`
ResponseCode uint8 `json:"response_code"`
Rate uint64 `json:"rate"`
}
type SymbolInput struct {
Symbols []string `json:"symbols"`
MinimumSourceCount uint8 `json:"minimum_source_count"`
}
type SymbolOutput struct {
Responses []Response `json:"responses"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.