Documentation
¶
Index ¶
Constants ¶
View Source
const ( BASE_API_URL = "https://streamlabs.com/api" API_VER = "v1.0" DONATIONS_ENDPOINT = "donations" ALERTS_ENDPOINT = "alerts" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiClient ¶
type ApiClient struct {
// contains filtered or unexported fields
}
func NewApiClient ¶
func (ApiClient) CreateAlert ¶
func (api ApiClient) CreateAlert(alert models.CreateAlert) (bool, error)
func (ApiClient) CreateDonation ¶
func (api ApiClient) CreateDonation(donation models.CreateDonation) (int64, error)
func (ApiClient) GetDonations ¶
func (api ApiClient) GetDonations() ([]models.GetDonation, error)
Click to show internal directories.
Click to hide internal directories.