Documentation ¶ Index ¶ type Provider Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Provider ¶ type Provider interface { // Name returns the name of the provider. Name() string // FetchPrice fetches the price for a given key. FetchPrice(ctx context.Context) (float64, error) } Provider defines an interface a data provider must implement. Source Files ¶ View all Source files provider.go Directories ¶ Show internal Expand all Path Synopsis contracts levana Click to show internal directories. Click to hide internal directories.