Documentation
¶
Index ¶
- Constants
- type ActionsOnDateViewManager
- type ApiManager
- func (m *ApiManager) CreateDate(date models.CreateDate) (*[]models.Date, error)
- func (m *ApiManager) CreateDateStructFromDate(date models.Date) models.CreateDate
- func (m *ApiManager) DeleteDate(id string) (*[]models.Date, error)
- func (m *ApiManager) GetDates() (*[]models.Date, error)
- func (m *ApiManager) GetDatesDay(day int) (*[]models.Date, error)
- func (m *ApiManager) GetDatesMonth(month int) (*[]models.Date, error)
- func (m *ApiManager) GetDatesWeek(week int) (*[]models.Date, error)
- func (m *ApiManager) UpdateDate(date models.CreateDate) (*[]models.Date, error)
- type ButtonBarViewManager
- type EditDateViewManager
- type MenusManager
- type TimerManager
- type WeekViewManager
Constants ¶
View Source
const CreateDateRoute = version + "/date/new"
View Source
const DeleteDateRoute = version + "/date/delete"
View Source
const GetDateRoute = version + "/date/last"
View Source
const UpdateDateRoute = version + "/date/save"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionsOnDateViewManager ¶
type ActionsOnDateViewManager struct { ApiManager ApiManager EditDateViewManager EditDateViewManager }
func (*ActionsOnDateViewManager) AddActionsPage ¶
func (m *ActionsOnDateViewManager) AddActionsPage(app *tview.Application, pages *tview.Pages, globalAppState *models.GlobalAppState) *tview.Frame
type ApiManager ¶
type ApiManager struct {
Url string
}
func (*ApiManager) CreateDate ¶
func (m *ApiManager) CreateDate(date models.CreateDate) (*[]models.Date, error)
func (*ApiManager) CreateDateStructFromDate ¶
func (m *ApiManager) CreateDateStructFromDate(date models.Date) models.CreateDate
func (*ApiManager) DeleteDate ¶
func (m *ApiManager) DeleteDate(id string) (*[]models.Date, error)
func (*ApiManager) GetDatesDay ¶
func (m *ApiManager) GetDatesDay(day int) (*[]models.Date, error)
func (*ApiManager) GetDatesMonth ¶
func (m *ApiManager) GetDatesMonth(month int) (*[]models.Date, error)
func (*ApiManager) GetDatesWeek ¶
func (m *ApiManager) GetDatesWeek(week int) (*[]models.Date, error)
func (*ApiManager) UpdateDate ¶
func (m *ApiManager) UpdateDate(date models.CreateDate) (*[]models.Date, error)
type ButtonBarViewManager ¶
type ButtonBarViewManager struct { }
func (*ButtonBarViewManager) CreateButtonBarWithPoints ¶
func (m *ButtonBarViewManager) CreateButtonBarWithPoints(globalAppState *models.GlobalAppState) *tview.Frame
type EditDateViewManager ¶
type EditDateViewManager struct {
ApiManager ApiManager
}
func (*EditDateViewManager) LoadNewDateView ¶
func (m *EditDateViewManager) LoadNewDateView(app *tview.Application, pages *tview.Pages, globalAppState *models.GlobalAppState) (*tview.Frame, error)
type MenusManager ¶
type MenusManager struct { WeekViewManager WeekViewManager ButtonBarViewManager ButtonBarViewManager EditDateViewManager EditDateViewManager }
func (*MenusManager) LoadMenus ¶
func (m *MenusManager) LoadMenus(app *tview.Application, globalAppState *models.GlobalAppState)
type TimerManager ¶
type TimerManager struct { }
func (*TimerManager) SetTimer ¶
func (m *TimerManager) SetTimer(app *tview.Application, globalAppState *models.GlobalAppState)
type WeekViewManager ¶
type WeekViewManager struct { ApiManager ApiManager EditDateViewManager EditDateViewManager ActionsOnDateViewManager ActionsOnDateViewManager }
func (*WeekViewManager) CreateTopWeekBar ¶
func (m *WeekViewManager) CreateTopWeekBar(globalAppState *models.GlobalAppState) *tview.Frame
func (*WeekViewManager) CreateWeekTable ¶
func (m *WeekViewManager) CreateWeekTable(app *tview.Application, pages *tview.Pages, globalAppState *models.GlobalAppState) tview.Table
func (*WeekViewManager) LoadWeekView ¶
func (m *WeekViewManager) LoadWeekView(app *tview.Application, pages *tview.Pages, globalAppState *models.GlobalAppState) *tview.Flex
Click to show internal directories.
Click to hide internal directories.