Documentation
¶
Index ¶
- func InitHeader(isFirstTime bool) string
- func NewHomepage() tea.Model
- func NewWeaveAppInitialization(ctx context.Context, mnemonic string) tea.Model
- func NewWeaveAppSettingUpGasStation(ctx context.Context) tea.Model
- func NewWeaveAppSuccessfullyInitialized(ctx context.Context) tea.Model
- func WaitSetGasStation(mnemonic string) tea.Cmd
- type ExistingCheckerState
- type GasStationMethodOption
- type GasStationMethodSelect
- type GasStationMnemonicDisplayInput
- type GasStationMnemonicInput
- type GenerateGasStationLoading
- type Homepage
- type HomepageOption
- type WeaveAppInitialization
- type WeaveAppSettingUpGasStation
- type WeaveAppSuccessfullyInitialized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitHeader ¶
func NewHomepage ¶
func WaitSetGasStation ¶
Types ¶
type ExistingCheckerState ¶
type ExistingCheckerState struct {
// contains filtered or unexported fields
}
func NewExistingCheckerState ¶
func NewExistingCheckerState() ExistingCheckerState
func (ExistingCheckerState) Clone ¶
func (e ExistingCheckerState) Clone() ExistingCheckerState
type GasStationMethodOption ¶
type GasStationMethodOption string
const ( Generate GasStationMethodOption = "Generate new account (recommended)" Import GasStationMethodOption = "Import existing account using mnemonic" )
type GasStationMethodSelect ¶
type GasStationMethodSelect struct {
weavecontext.BaseModel
ui.Selector[GasStationMethodOption]
// contains filtered or unexported fields
}
func NewGasStationMethodSelect ¶
func NewGasStationMethodSelect(ctx context.Context) *GasStationMethodSelect
func (*GasStationMethodSelect) Init ¶
func (m *GasStationMethodSelect) Init() tea.Cmd
func (*GasStationMethodSelect) View ¶
func (m *GasStationMethodSelect) View() string
type GasStationMnemonicDisplayInput ¶
type GasStationMnemonicDisplayInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeysMnemonicDisplayInput ¶
func NewSystemKeysMnemonicDisplayInput(ctx context.Context) *GasStationMnemonicDisplayInput
func (*GasStationMnemonicDisplayInput) GetQuestion ¶
func (m *GasStationMnemonicDisplayInput) GetQuestion() string
func (*GasStationMnemonicDisplayInput) Init ¶
func (m *GasStationMnemonicDisplayInput) Init() tea.Cmd
func (*GasStationMnemonicDisplayInput) View ¶
func (m *GasStationMnemonicDisplayInput) View() string
type GasStationMnemonicInput ¶
type GasStationMnemonicInput struct {
weavecontext.BaseModel
ui.TextInput
}
func NewGasStationMnemonicInput ¶
func NewGasStationMnemonicInput(ctx context.Context) *GasStationMnemonicInput
func (*GasStationMnemonicInput) Init ¶
func (m *GasStationMnemonicInput) Init() tea.Cmd
func (*GasStationMnemonicInput) View ¶
func (m *GasStationMnemonicInput) View() string
type GenerateGasStationLoading ¶
type GenerateGasStationLoading struct {
ui.Loading
weavecontext.BaseModel
}
func NewGenerateGasStationLoading ¶
func NewGenerateGasStationLoading(ctx context.Context) *GenerateGasStationLoading
func (*GenerateGasStationLoading) Init ¶
func (m *GenerateGasStationLoading) Init() tea.Cmd
func (*GenerateGasStationLoading) View ¶
func (m *GenerateGasStationLoading) View() string
type WeaveAppInitialization ¶
type WeaveAppInitialization struct {
weavecontext.BaseModel
ui.Loading
// contains filtered or unexported fields
}
func (*WeaveAppInitialization) Init ¶
func (hi *WeaveAppInitialization) Init() tea.Cmd
func (*WeaveAppInitialization) View ¶
func (hi *WeaveAppInitialization) View() string
type WeaveAppSettingUpGasStation ¶
type WeaveAppSettingUpGasStation struct {
weavecontext.BaseModel
ui.Loading
}
func (*WeaveAppSettingUpGasStation) Init ¶
func (hi *WeaveAppSettingUpGasStation) Init() tea.Cmd
func (*WeaveAppSettingUpGasStation) View ¶
func (hi *WeaveAppSettingUpGasStation) View() string
type WeaveAppSuccessfullyInitialized ¶
type WeaveAppSuccessfullyInitialized struct {
weavecontext.BaseModel
// contains filtered or unexported fields
}
func (*WeaveAppSuccessfullyInitialized) Init ¶
func (hi *WeaveAppSuccessfullyInitialized) Init() tea.Cmd
func (*WeaveAppSuccessfullyInitialized) View ¶
func (hi *WeaveAppSuccessfullyInitialized) View() string
Click to show internal directories.
Click to hide internal directories.