Documentation ¶
Index ¶
- Constants
- Variables
- func Account(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AddSubscription(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AdminDateFormats(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AdminFeed(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AdminStats(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AdminUpdateFeed(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AllFeeds(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func AllFeedsOpml(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func Autodiscover(b []byte) (string, error)
- func BackendStart(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func BackendStop(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func CFix(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func CFixer(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func Charge(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ClearFeeds(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func DeleteAccount(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func Donate(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ExportOpml(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func GetContents(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func GetFeed(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ImportOpml(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ImportOpmlTask(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ListFeeds(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func LoginGoogle(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func Logout(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func Main(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func MarkAllRead(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func MarkRead(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func MarkUnread(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func ParseFeed(c appengine.Context, u string, b []byte) (*Feed, []*Story)
- func Sanitize(s string, u *url.URL) (string, string)
- func SaveOptions(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func SubscribeCallback(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func SubscribeFeed(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func Timeout(c appengine.Context, d time.Duration) appengine.Context
- func Uncheckout(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func UpdateFeed(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func UpdateFeeds(c mpg.Context, w http.ResponseWriter, r *http.Request)
- func UploadOpml(c mpg.Context, w http.ResponseWriter, r *http.Request)
- type DateFormat
- type Feed
- type Image
- type Includes
- type Opml
- type OpmlOutline
- type Plan
- type Read
- type Stories
- type Story
- type StoryContent
- type StripeCustomer
- type StripeError
- type User
- type UserCharge
- type UserData
Constants ¶
View Source
const ( AFree = iota ADev APaid )
View Source
const IDX_COL = "c"
View Source
const IMPORT_LIMIT = 10
Variables ¶
View Source
var ( Angular string AngularSanitize string BootstrapCss string BootstrapJs string Jquery string JqueryUI string Underscore string )
View Source
var ErrNoRssLink = errors.New("No rss link found")
Functions ¶
func AddSubscription ¶
func AdminDateFormats ¶
func AdminStats ¶
func AdminUpdateFeed ¶
func AllFeedsOpml ¶
func Autodiscover ¶
func BackendStart ¶
func BackendStop ¶
func ClearFeeds ¶
func DeleteAccount ¶
func ExportOpml ¶
func GetContents ¶
func ImportOpml ¶
func ImportOpmlTask ¶
func LoginGoogle ¶
func MarkAllRead ¶
func MarkUnread ¶
func SaveOptions ¶
func SubscribeCallback ¶
func SubscribeFeed ¶
func Uncheckout ¶
func UpdateFeed ¶
func UpdateFeeds ¶
func UploadOpml ¶
Types ¶
type DateFormat ¶
type Feed ¶
type Feed struct { Url string `datastore:"-" goon:"id"` Title string `datastore:"t,noindex"` Updated time.Time `datastore:"u,noindex"` Date time.Time `datastore:"d,noindex"` Checked time.Time `datastore:"c,noindex"` NextUpdate time.Time `datastore:"n"` Link string `datastore:"l,noindex"` Errors int `datastore:"e,noindex"` Image string `datastore:"i,noindex"` Subscribed time.Time `datastore:"s,noindex"` Average time.Duration `datastore:"a,noindex"` // contains filtered or unexported fields }
func (Feed) IsSubscribed ¶
type Includes ¶
type Includes struct { Angular string AngularSanitize string BootstrapCss string BootstrapJs string Jquery string JqueryUI string Underscore string MiniProfiler template.HTML User *User Messages []string GoogleAnalyticsId string GoogleAnalyticsHost string IsDev bool IsAdmin bool StripeKey string StripePlans []Plan GoogleAd template.HTML }
type Opml ¶
type Opml struct { XMLName string `xml:"opml"` Version string `xml:"version,attr"` Title string `xml:"head>title"` Outline []*OpmlOutline `xml:"body>outline"` }
type OpmlOutline ¶
type OpmlOutline struct { Outline []*OpmlOutline `xml:"outline" json:",omitempty"` Title string `xml:"title,attr,omitempty" json:",omitempty"` XmlUrl string `xml:"xmlUrl,attr,omitempty" json:",omitempty"` Type string `xml:"type,attr,omitempty" json:",omitempty"` Text string `xml:"text,attr,omitempty" json:",omitempty"` HtmlUrl string `xml:"htmlUrl,attr,omitempty" json:",omitempty"` }
type Story ¶
type Story struct { Id string `datastore:"-" goon:"id"` Parent *datastore.Key `datastore:"-" goon:"parent" json:"-"` Title string `datastore:"t,noindex"` Link string `datastore:"l,noindex"` Created time.Time `datastore:"c" json:"-"` Published time.Time `datastore:"p,noindex" json:"-"` Updated time.Time `datastore:"u,noindex" json:"-"` Date int64 `datastore:"e,noindex"` Author string `datastore:"a,noindex" json:",omitempty"` Summary string `datastore:"s,noindex"` MediaContent string `datastore:"m,noindex" json:",omitempty"` // contains filtered or unexported fields }
parent: Feed, key: story ID
type StoryContent ¶
type StoryContent struct { Id int64 `datastore:"-" goon:"id"` Parent *datastore.Key `datastore:"-" goon:"parent"` Content string `datastore:"c,noindex"` Compressed []byte `datastore:"z,noindex"` // contains filtered or unexported fields }
parent: Story, key: 1
type StripeCustomer ¶
type StripeCustomer struct { Id string `json:"id"` Created int64 `json:"created"` Card struct { Last4 string `json:"last4"` } `json:"active_card"` Subscription struct { Plan struct { Interval string `json:"interval"` Id string `json:"id"` Amount int `json:"amount"` } `json:"plan"` End int64 `json:"current_period_end"` } `json:"subscription"` }
type StripeError ¶
type StripeError struct { Error struct { Message string `json:"message"` } `json:"error"` }
type User ¶
type UserCharge ¶
type UserCharge struct { Id int64 `datastore:"-" goon:"id"` Parent *datastore.Key `datastore:"-" goon:"parent"` Customer string `datastore:"c,noindex json:"-"` Created time.Time `datastore:"r,noindex"` Last4 string `datastore:"l,noindex" json:"-"` Next time.Time `datastore:"n,noindex"` Amount int `datastore:"a,noindex"` Interval string `datastore:"i,noindex"` Plan string `datastore:"p,noindex"` // contains filtered or unexported fields }
parent: User, key: 1
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package atom defines XML data structures for an Atom feed.
|
Package atom defines XML data structures for an Atom feed. |
Package rss provides a basic interface for processing RSS version 2.0 feeds
|
Package rss provides a basic interface for processing RSS version 2.0 feeds |
Click to show internal directories.
Click to hide internal directories.