activity

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DateRange

func DateRange(c *cli.Context) (time.Time, time.Time, error)

DateRange returns the date range specified in the command line flags

func DateRangeFlags

func DateRangeFlags() []cli.Flag

DateRangeFlags support specifying a date range for a query

func OAuthCommand

func OAuthCommand(cfg *OAuthConfig) *cli.Command

func RateLimitFlags

func RateLimitFlags() []cli.Flag

RateLimitFlags support specifying a rate limit for a query

Types

type OAuthConfig

type OAuthConfig struct {
	// Port on which to listen
	Port int
	// Provider at which to authenticate
	Provider string
	// Scopes to request with the credentials
	Scopes []string
	// RedirectURL on successful authentication
	RedirectURL string
	// Started is the channel on which the server url is communicated
	Started chan<- *url.URL
}

OAuthConfig provides configuration options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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