Documentation ¶
Index ¶
- Constants
- type API
- type Agent
- type AgentConfig
- type Client
- func (c *Client) Publish(dataPoint *messages.DataPoint) error
- func (c *Client) PullPrice(assetPair string, feed string) (*messages.DataPoint, error)
- func (c *Client) PullPrices(assetPair string, feed string) ([]*messages.DataPoint, error)
- func (c *Client) Start(ctx context.Context) error
- func (c *Client) Wait() <-chan error
- type ClientConfig
- type Nothing
- type PublishArg
- type PullDataPointResp
- type PullDataPointsResp
- type PullPriceArg
- type PullPricesArg
Constants ¶
View Source
const AgentLoggerTag = "SPIRE_AGENT"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) PullPoint ¶ added in v0.11.4
func (n *API) PullPoint(arg *PullPriceArg, resp *PullDataPointResp) error
func (*API) PullPoints ¶ added in v0.11.4
func (n *API) PullPoints(arg *PullPricesArg, resp *PullDataPointsResp) error
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func NewAgent ¶
func NewAgent(cfg AgentConfig) (*Agent, error)
type AgentConfig ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(cfg ClientConfig) (*Client, error)
func (*Client) PullPrices ¶
type ClientConfig ¶
type PublishArg ¶ added in v0.11.4
type PullDataPointResp ¶ added in v0.11.4
type PullDataPointsResp ¶ added in v0.11.4
type PullPriceArg ¶
type PullPricesArg ¶
Click to show internal directories.
Click to hide internal directories.