Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthApplication ¶
type AuthApplication struct {
application.Application
}
AuthApplication implements the application.Application interface as a commandline application to initiate a Flickr API authorization flow. This application will launch a background HTTP process to receive authorization callback requests (from Flickr) and block execution, using channels, until an authorization request is approved or triggers and error.
func (*AuthApplication) DefaultFlagSet ¶
func (app *AuthApplication) DefaultFlagSet() *flag.FlagSet
Return the default FlagSet necessary for the AuthApplication to run.
func (*AuthApplication) Run ¶
func (app *AuthApplication) Run(ctx context.Context) (interface{}, error)
Invoke the AuthApplication with its default FlagSet.
func (*AuthApplication) RunWithFlagSet ¶
func (app *AuthApplication) RunWithFlagSet(ctx context.Context, fs *flag.FlagSet) (interface{}, error)
Invoke the AuthApplication with a custom FlagSet.
Click to show internal directories.
Click to hide internal directories.