Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIApplication ¶
type APIApplication struct {
application.Application
}
APIApplication implements the application.Application interface as a commandline application to invoke the Flickr API and output results to STDOUT. It does not support uploading or replacing photos.
func (*APIApplication) DefaultFlagSet ¶
func (app *APIApplication) DefaultFlagSet() *flag.FlagSet
Return the default FlagSet necessary for the APIApplication to run.
func (*APIApplication) Run ¶
func (app *APIApplication) Run(ctx context.Context) (interface{}, error)
Invoke the APIApplication with its default FlagSet.
func (*APIApplication) RunWithFlagSet ¶
func (app *APIApplication) RunWithFlagSet(ctx context.Context, fs *flag.FlagSet) (interface{}, error)
Invoke the APIApplication with a custom FlagSet.
Click to show internal directories.
Click to hide internal directories.