Documentation
¶
Index ¶
- type Base64View
- type CSVView
- type ColorView
- type CronView
- type DiffView
- type GZipView
- type HTMLEntityView
- type HashView
- type JSONView
- type JWTView
- type LoremView
- type NumberBaseView
- type PasswordView
- type PlaceholderView
- type RegexView
- type TextEscapeView
- type TextStatsView
- type TimestampView
- type ToolView
- type URLView
- type UUIDView
- type XMLView
- type YAMLView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base64View ¶
type Base64View struct {
// contains filtered or unexported fields
}
Base64View is the TUI view for Base64 encoding/decoding.
func (*Base64View) Init ¶
func (v *Base64View) Init() tea.Cmd
func (*Base64View) KeyHints ¶
func (v *Base64View) KeyHints() string
func (*Base64View) SetSize ¶
func (v *Base64View) SetSize(width, height int)
func (*Base64View) View ¶
func (v *Base64View) View() string
type CSVView ¶
type CSVView struct {
// contains filtered or unexported fields
}
CSVView is the TUI view for JSON/CSV conversion.
type ColorView ¶
type ColorView struct {
// contains filtered or unexported fields
}
ColorView is the TUI view for color conversion.
func NewColorView ¶
func NewColorView() *ColorView
NewColorView creates a new Color Converter tool view.
type CronView ¶
type CronView struct {
// contains filtered or unexported fields
}
CronView is the TUI view for cron expression parsing.
func NewCronView ¶
func NewCronView() *CronView
NewCronView creates a new Cron Expression Parser tool view.
type DiffView ¶
type DiffView struct {
// contains filtered or unexported fields
}
DiffView is the TUI view for text comparison.
type GZipView ¶
type GZipView struct {
// contains filtered or unexported fields
}
GZipView is the TUI view for gzip compression/decompression.
func NewGZipView ¶
func NewGZipView() *GZipView
NewGZipView creates a new GZip Compress / Decompress tool view.
type HTMLEntityView ¶
type HTMLEntityView struct {
// contains filtered or unexported fields
}
HTMLEntityView is the TUI view for HTML entity encoding/decoding.
func NewHTMLEntityView ¶
func NewHTMLEntityView() *HTMLEntityView
NewHTMLEntityView creates a new HTML Entity tool view.
func (*HTMLEntityView) Init ¶
func (v *HTMLEntityView) Init() tea.Cmd
func (*HTMLEntityView) KeyHints ¶
func (v *HTMLEntityView) KeyHints() string
func (*HTMLEntityView) SetSize ¶
func (v *HTMLEntityView) SetSize(width, height int)
func (*HTMLEntityView) View ¶
func (v *HTMLEntityView) View() string
type HashView ¶
type HashView struct {
// contains filtered or unexported fields
}
HashView is the TUI view for hash generation.
type JSONView ¶
type JSONView struct {
// contains filtered or unexported fields
}
JSONView is the TUI view for JSON formatting, minifying, and validating.
type JWTView ¶
type JWTView struct {
// contains filtered or unexported fields
}
JWTView is the TUI view for JWT decoding.
type LoremView ¶
type LoremView struct {
// contains filtered or unexported fields
}
LoremView is the TUI view for lorem ipsum generation.
func NewLoremView ¶
func NewLoremView() *LoremView
NewLoremView creates a new Lorem Ipsum Generator tool view.
type NumberBaseView ¶
type NumberBaseView struct {
// contains filtered or unexported fields
}
NumberBaseView is the TUI view for number base conversion.
func NewNumberBaseView ¶
func NewNumberBaseView() *NumberBaseView
NewNumberBaseView creates a new Number Base Converter tool view.
func (*NumberBaseView) Init ¶
func (v *NumberBaseView) Init() tea.Cmd
func (*NumberBaseView) KeyHints ¶
func (v *NumberBaseView) KeyHints() string
func (*NumberBaseView) SetSize ¶
func (v *NumberBaseView) SetSize(width, height int)
func (*NumberBaseView) View ¶
func (v *NumberBaseView) View() string
type PasswordView ¶
type PasswordView struct {
// contains filtered or unexported fields
}
PasswordView is the TUI view for password generation.
func NewPasswordView ¶
func NewPasswordView() *PasswordView
NewPasswordView creates a new Password Generator tool view.
func (*PasswordView) Init ¶
func (v *PasswordView) Init() tea.Cmd
func (*PasswordView) KeyHints ¶
func (v *PasswordView) KeyHints() string
func (*PasswordView) SetSize ¶
func (v *PasswordView) SetSize(width, height int)
func (*PasswordView) View ¶
func (v *PasswordView) View() string
type PlaceholderView ¶
type PlaceholderView struct {
// contains filtered or unexported fields
}
PlaceholderView shows "Coming soon" for unimplemented tools.
func NewPlaceholder ¶
func NewPlaceholder(name string) *PlaceholderView
NewPlaceholder creates a placeholder view for the given tool name.
func (*PlaceholderView) Init ¶
func (p *PlaceholderView) Init() tea.Cmd
func (*PlaceholderView) KeyHints ¶
func (p *PlaceholderView) KeyHints() string
func (*PlaceholderView) SetSize ¶
func (p *PlaceholderView) SetSize(width, height int)
func (*PlaceholderView) View ¶
func (p *PlaceholderView) View() string
type RegexView ¶
type RegexView struct {
// contains filtered or unexported fields
}
RegexView is the TUI view for regex testing.
func NewRegexView ¶
func NewRegexView() *RegexView
NewRegexView creates a new Regex Tester tool view.
type TextEscapeView ¶
type TextEscapeView struct {
// contains filtered or unexported fields
}
TextEscapeView is the TUI view for text escaping/unescaping.
func NewTextEscapeView ¶
func NewTextEscapeView() *TextEscapeView
NewTextEscapeView creates a new Text Escape / Unescape tool view.
func (*TextEscapeView) Init ¶
func (v *TextEscapeView) Init() tea.Cmd
func (*TextEscapeView) KeyHints ¶
func (v *TextEscapeView) KeyHints() string
func (*TextEscapeView) SetSize ¶
func (v *TextEscapeView) SetSize(width, height int)
func (*TextEscapeView) View ¶
func (v *TextEscapeView) View() string
type TextStatsView ¶
type TextStatsView struct {
// contains filtered or unexported fields
}
TextStatsView is the TUI view for text analysis and case conversion.
func NewTextStatsView ¶
func NewTextStatsView() *TextStatsView
NewTextStatsView creates a new Text Analyzer tool view.
func (*TextStatsView) Init ¶
func (v *TextStatsView) Init() tea.Cmd
func (*TextStatsView) KeyHints ¶
func (v *TextStatsView) KeyHints() string
func (*TextStatsView) SetSize ¶
func (v *TextStatsView) SetSize(width, height int)
func (*TextStatsView) View ¶
func (v *TextStatsView) View() string
type TimestampView ¶
type TimestampView struct {
// contains filtered or unexported fields
}
TimestampView is the TUI view for timestamp conversion.
func NewTimestampView ¶
func NewTimestampView() *TimestampView
NewTimestampView creates a new Timestamp converter tool view.
func (*TimestampView) Init ¶
func (v *TimestampView) Init() tea.Cmd
func (*TimestampView) KeyHints ¶
func (v *TimestampView) KeyHints() string
func (*TimestampView) SetSize ¶
func (v *TimestampView) SetSize(width, height int)
func (*TimestampView) View ¶
func (v *TimestampView) View() string
type ToolView ¶
type ToolView interface {
Init() tea.Cmd
Update(msg tea.Msg) (ToolView, tea.Cmd)
View() string
SetSize(width, height int)
KeyHints() string // tool-specific keybinding hints for the status bar
}
ToolView is the interface that all tool views implement. This is NOT tea.Model — only AppModel satisfies tea.Model.
type URLView ¶
type URLView struct {
// contains filtered or unexported fields
}
URLView is the TUI view for URL encoding/decoding/parsing.
type UUIDView ¶
type UUIDView struct {
// contains filtered or unexported fields
}
UUIDView is the TUI view for UUID generation, validation, and parsing.
type XMLView ¶
type XMLView struct {
// contains filtered or unexported fields
}
XMLView is the TUI view for XML formatting/minifying.