Documentation ¶
Index ¶
- func AraddonParse(pattern string) (time.Time, error)
- func DateRange(c *cli.Context, parsers ...DateParserFunc) (time.Time, time.Time, error)
- func DateRangeFlags() []cli.Flag
- func NaturalParse(pattern string) (time.Time, error)
- func OAuthCommand(cfg *OAuthConfig) *cli.Command
- func RateLimitFlags() []cli.Flag
- type DateParserFunc
- type OAuthConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.