Documentation
¶
Overview ¶
Package silos provides methods to re-publish entries on other sites.
Index ¶
Constants ¶
View Source
const FlickrUID = "https://flickr.com/"
View Source
const GithubUID = "https://github.com/"
View Source
const TwitterUID = "https://twitter.com/"
TwitterUID is the unique identifier for twitter.
Variables ¶
This section is empty.
Functions ¶
func Flickr ¶
func Flickr(options FlickrOptions) (*flickrClient, error)
func Github ¶
func Github(options GithubOptions) (*githubClient, error)
func Twitter ¶
func Twitter(options TwitterOptions, fw FileWriter) (*twitterClient, error)
Twitter creates a client for Twitter. On creation it makes a call to the API to verify the credentials are correct and the screen name of the authenticated user.
Types ¶
type ErrUnsure ¶
type ErrUnsure struct {
// contains filtered or unexported fields
}
ErrUnsure can be used when a syndicator is not able to determine what should be posted. It contains the data of the entry that was used.
type FileWriter ¶
type FlickrOptions ¶
Click to show internal directories.
Click to hide internal directories.