Documentation
¶
Index ¶
- Variables
- type EndpointsPage
- type HelpPage
- type Index
- type ListCollectionsPage
- type Manager
- type NewCollectionPage
- type OnAddNewCollectionCallback
- type OnListCollectionsCallback
- type OnListEndpointsCallback
- type OnPopPageCallback
- type OnRequestCallback
- type OnShowPopupCallback
- type OnUpdateCollectionList
- type Page
- type WelcomePage
Constants ¶
This section is empty.
Variables ¶
View Source
var HELP_MESSAGE string
View Source
var NAMES map[Index]string = map[Index]string{ WELCOME: "welcome", ENDPOINTS: "endpoints", POPUP: "popup", HELP: "help", NEW_COLLECTION: "new_collection", LIST_COLLECTIONS: "list_collections", }
View Source
var WELCOME_MESSAGE string
Functions ¶
This section is empty.
Types ¶
type EndpointsPage ¶
type EndpointsPage struct {
// contains filtered or unexported fields
}
func (*EndpointsPage) Index ¶
func (page *EndpointsPage) Index() Index
func (*EndpointsPage) Page ¶
func (page *EndpointsPage) Page() tview.Primitive
func (*EndpointsPage) Setup ¶
func (page *EndpointsPage) Setup() error
type ListCollectionsPage ¶
type ListCollectionsPage struct {
// contains filtered or unexported fields
}
func (*ListCollectionsPage) Index ¶
func (page *ListCollectionsPage) Index() Index
func (*ListCollectionsPage) Page ¶
func (page *ListCollectionsPage) Page() tview.Primitive
func (*ListCollectionsPage) Setup ¶
func (page *ListCollectionsPage) Setup() error
func (*ListCollectionsPage) UpdateCollectionList ¶
func (page *ListCollectionsPage) UpdateCollectionList() error
type Manager ¶
type Manager struct { Welcome *WelcomePage Endpoints *EndpointsPage Help *HelpPage NewCollection *NewCollectionPage ListCollections *ListCollectionsPage }
type NewCollectionPage ¶
type NewCollectionPage struct {
// contains filtered or unexported fields
}
func (*NewCollectionPage) Index ¶
func (page *NewCollectionPage) Index() Index
func (*NewCollectionPage) Page ¶
func (page *NewCollectionPage) Page() tview.Primitive
func (*NewCollectionPage) Setup ¶
func (page *NewCollectionPage) Setup() error
type OnListCollectionsCallback ¶
type OnListCollectionsCallback func() ([]*models.Collection, error)
type OnListEndpointsCallback ¶
type OnPopPageCallback ¶
type OnPopPageCallback func()
type OnShowPopupCallback ¶
type OnUpdateCollectionList ¶
type OnUpdateCollectionList func() error
type WelcomePage ¶
type WelcomePage struct {
// contains filtered or unexported fields
}
func (*WelcomePage) Index ¶
func (page *WelcomePage) Index() Index
func (*WelcomePage) Page ¶
func (page *WelcomePage) Page() tview.Primitive
func (*WelcomePage) Setup ¶
func (page *WelcomePage) Setup() error
Click to show internal directories.
Click to hide internal directories.