ivr

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(client *http.Client) *API

type Channel

type Channel struct {
	ID          string `json:"id"`
	Login       string `json:"login"`
	DisplayName string `json:"displayName"`
}

type Cumulative

type Cumulative struct {
	ElapsedDays   int       `json:"elapsedDays"`
	DaysRemaining int       `json:"daysRemaining"`
	Months        int       `json:"months"`
	End           time.Time `json:"end"`
	Start         time.Time `json:"start"`
}

type Streak

type Streak struct {
	ElapsedDays   int       `json:"elapsedDays"`
	DaysRemaining int       `json:"daysRemaining"`
	Months        int       `json:"months"`
	End           time.Time `json:"end"`
	Start         time.Time `json:"start"`
}

type SubAgeResponse

type SubAgeResponse struct {
	User         User       `json:"user"`
	Channel      Channel    `json:"channel"`
	StatusHidden bool       `json:"statusHidden"`
	FollowedAt   time.Time  `json:"followedAt"`
	Streak       Streak     `json:"streak"`
	Cumulative   Cumulative `json:"cumulative"`
}

type User

type User struct {
	ID          string `json:"id"`
	Login       string `json:"login"`
	DisplayName string `json:"displayName"`
}

Jump to

Keyboard shortcuts

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