Documentation
¶
Index ¶
- Constants
- func InitStyle(theme *styles.Theme, commonStyles *styles.CommonStyle)
- func RefreshProfiles(loadedProfiles []*model.Profile)
- type ActivateProfile
- type ActiveView
- type CopyRequestMsg
- type CreateRequestFinishedMsg
- type CreateRequestMsg
- type DeleteRequestConfirmedMsg
- type DeleteRequestMsg
- type EditRequestFinishedMsg
- type EditRequestMsg
- type Mode
- type Model
- type PostAction
- type PreviewRequestMsg
- type RenameRequestMsg
- type Request
- type RunRequestFinishedMsg
- type RunRequestFinishedWithFailureMsg
- type RunRequestMsg
- type ShowKeyprompt
- type Styles
Constants ¶
View Source
const ( CreateRequestLabel = "" /* 249-byte string literal not displayed */ RenameRequestLabel = "Rename your request." CopyRequestLabel = "Choose name for your request." )
View Source
const ( CreateRequest = "CReq" CreateSimpleRequest = "CSmplReq" CreateComplexRequest = "CCmplxReq" DeleteRequest = "DReq" EditRequest = "EReq" PrintRequest = "PReq" PrintFailedRequest = "PEReq" RenameRequest = "RnReq" CopyRequest = "CpReq" )
View Source
const ( YamlTemplate = `` /* 290-byte string literal not displayed */ StarlarkTemplate = `` /* 441-byte string literal not displayed */ LuaTemplate = `` /* 343-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func RefreshProfiles ¶
Types ¶
type ActivateProfile ¶
type ActivateProfile struct{}
type ActiveView ¶
type ActiveView int
const ( List ActiveView = iota Prompt Keyprompt Duplicate Preview Stopwatch Profiles Results )
type CopyRequestMsg ¶
type CopyRequestMsg struct {
Request Request
}
type CreateRequestFinishedMsg ¶
type CreateRequestFinishedMsg struct {
// contains filtered or unexported fields
}
type CreateRequestMsg ¶
type CreateRequestMsg struct {
Type string
}
type DeleteRequestConfirmedMsg ¶
type DeleteRequestConfirmedMsg struct {
Request Request
}
type DeleteRequestMsg ¶
type DeleteRequestMsg struct {
Request Request
}
type EditRequestFinishedMsg ¶
type EditRequestFinishedMsg struct {
Request Request
// contains filtered or unexported fields
}
type EditRequestMsg ¶
type EditRequestMsg struct {
Request Request
}
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) GetHelpKeys ¶ added in v1.3.0
func (Model) HandlePostAction ¶
func (m Model) HandlePostAction()
type PostAction ¶
type PostAction struct {
Type string
Payload interface{}
AddtionalContext interface{}
}
type PreviewRequestMsg ¶
type PreviewRequestMsg struct {
Request Request
}
type RenameRequestMsg ¶
type RenameRequestMsg struct {
Request Request
}
type RunRequestFinishedMsg ¶
type RunRequestMsg ¶
type RunRequestMsg struct {
Request Request
}
type ShowKeyprompt ¶
type ShowKeyprompt struct {
Label string
Entries []keyprompt.KeypromptEntry
Type string
Payload interface{}
}
Click to show internal directories.
Click to hide internal directories.