Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { CreateCarbonEstimate(carbon int) (*models.Estimate, error) RetrieveEstimate(slug string) (*models.Estimate, error) Purchase(estimate models.EstimateIn) (*models.Purchase, error) }
Provider is the interface that describes the behaviour a carbon offset provider is expected to implement.
Click to show internal directories.
Click to hide internal directories.