patreon

package
v1.11.5 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2018 License: MIT Imports: 10 Imported by: 0

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) 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