add:partial functionality
This commit is contained in:
13
internal/pages/file_action.go
Normal file
13
internal/pages/file_action.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package pages
|
||||
|
||||
type FileActionPageMsg struct {
|
||||
ServerName string
|
||||
Filename string
|
||||
}
|
||||
|
||||
func FileActionItems() []MenuItem {
|
||||
return []MenuItem{
|
||||
{Label: "Get", Key: "get"},
|
||||
{Label: "Delete", Key: "delete"},
|
||||
}
|
||||
}
|
||||
13
internal/pages/server_actions.go
Normal file
13
internal/pages/server_actions.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package pages
|
||||
|
||||
type ServerActionsPageMsg struct {
|
||||
ServerName string
|
||||
}
|
||||
|
||||
func ServerActionItems() []MenuItem {
|
||||
return []MenuItem{
|
||||
{Label: "Send", Key: "send"},
|
||||
{Label: "Get", Key: "get"},
|
||||
{Label: "Clean", Key: "clean"},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user