drops

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

View Source
var (
	TOKEN        string
	CLIENT_ID    string
	ENTITLEMENTS []models.DropsEntitlementsData
)
View Source
var BASE_URL = "https://api.twitch.tv/helix/entitlements/drops"

Functions

func ExportEntitlements

func ExportEntitlements(filename string, gameID string, userID string)

Types

type DropsEntitlementExportParameters

type DropsEntitlementExportParameters struct {
	GameID string
	UserID string
	URL    string
	Cursor string
}

type RLClient

type RLClient struct {
	RateLimiter *rate.Limiter
	// contains filtered or unexported fields
}

func NewClient

func NewClient(l *rate.Limiter) *RLClient

func (*RLClient) Do

func (c *RLClient) Do(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL