patreon

package
v2.46.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PatreonDisabled

func PatreonDisabled(err error, reason string)

func Run

func Run()

Types

type Patron

type Patron struct {
	Name        string
	Avatar      string
	AmountCents int
	DiscordID   int64
}

type Poller

type Poller struct {
	// contains filtered or unexported fields
}
var ActivePoller *Poller

func (*Poller) GetPatrons

func (p *Poller) GetPatrons() (patrons []*Patron)

func (*Poller) IsLastFetchSuccess added in v2.46.3

func (p *Poller) IsLastFetchSuccess() bool

func (*Poller) Poll

func (p *Poller) Poll()

func (*Poller) Run

func (p *Poller) Run()

type TokenSourceSaver

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

func (*TokenSourceSaver) Token

func (t *TokenSourceSaver) Token() (*oauth2.Token, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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