giveaway

package
v0.0.0-...-2b93282 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disrupt

func Disrupt(id string) (*giveaway.Giveaway, error)

Disrupt deletes the giveaway tweet and the giveaway

func End

func End(id string) (*giveaway.Giveaway, error)

End ends the giveaway

func Past

func Past(limit, offset int) (giveaway.Giveaways, error)

Past retrieves past giveaways

func Replies

func Replies(id string) (*giveaway.Giveaway, error)

func Report

func Report(id string) (*giveaway.Report, error)

func Reward

func Reward(id string) (*giveaway.Giveaway, error)

Reward tweets the winners and sends a direct message to the winners of the giveaway

func Start

func Start(id string) (*giveaway.Giveaway, error)

Start tweets about the giveaway

func Winners

func Winners(id string, winners []string) (*giveaway.Giveaway, error)

Winners registers the winners of the giveaway

Types

This section is empty.

Jump to

Keyboard shortcuts

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