Documentation
¶
Index ¶
- Constants
- Variables
- func CursorDown(g *gocui.Gui, v *gocui.View) error
- func CursorUp(g *gocui.Gui, v *gocui.View) error
- func PagerDown(g *gocui.Gui, v *gocui.View) error
- func PagerUp(g *gocui.Gui, v *gocui.View) error
- func Quit(g *gocui.Gui, v *gocui.View) error
- type Episode
- type Episodes
- type Feed
- type Feeds
- type Footer
- type Header
- type Pager
Constants ¶
View Source
const ( //HeaderText -- Generic header used for all screens HeaderText = "go-rss-reader" //QuitText -- Instructions on quiting the application QuitText = "Quit: Ctrl-C" //BackText -- Instructions on travelling to a previous screen BackText = "Back: Ctrl-B" //SelectText -- Instructions on selecting SelectText = "Select: Enter" //RefreshAllText -- Instructions on Refreshing all feeds RefreshAllText = "Refresh All: Ctrl-A" //RefreshOneText -- Instrcutions on Refreshing one feed RefreshOneText = "Refresh One: Ctrl-R" )
Variables ¶
View Source
var ( FeedsFooterText = strings.Join([]string{QuitText, SelectText, RefreshAllText, RefreshOneText}, ", ") EpisodesFooterText = strings.Join([]string{QuitText, BackText, SelectText}, ", ") PagerFooterText = strings.Join([]string{QuitText, BackText}, ", ") )
Functions ¶
func CursorDown ¶
CursorDown -- Callback used to scroll down on the feeds
Types ¶
type Episodes ¶
Episodes -- Gui component for the Episodes
func NewEpisodes ¶
NewEpisodes -- Creates a new Episode gui component
type Feeds ¶
Feeds -- Gui component for the feeds
type Footer ¶
type Footer struct {
// contains filtered or unexported fields
}
Footer -- Gui Component used for the title bar and info bar
type Header ¶
type Header struct {
// contains filtered or unexported fields
}
Header -- Gui Component used for the title bar and info bar
Source Files
¶
Click to show internal directories.
Click to hide internal directories.