Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeNatContextMsg ¶
type ChangeNatContextMsg struct{}
type NatsContext ¶
type NatsContext struct { Name string `json:"-"` FilePath string `json:"-"` CA string `json:"ca"` Cert string `json:"cert"` ColorScheme string `json:"color_scheme"` Creds string `json:"creds"` Desc string `json:"description"` InboxPrefix string `json:"inbox_prefix"` JetstreamApiPrefix string `json:"jetstream_api_prefix"` JetstreamDomain string `json:"jetstream_domain"` JetstreamEventPrefix string `json:"jetstream_event_prefix"` Key string `json:"key"` Nkey string `json:"nkey"` Nsc string `json:"nsc"` Password string `json:"password"` SocksProxy string `json:"socks_proxy"` Token string `json:"token"` URL string `json:"url"` User string `json:"user"` }
func (NatsContext) Description ¶
func (n NatsContext) Description() string
func (NatsContext) FP ¶
func (n NatsContext) FP() string
func (NatsContext) FilterValue ¶
func (n NatsContext) FilterValue() string
func (NatsContext) Title ¶
func (n NatsContext) Title() string
type NatsContextModel ¶
type NatsContextModel struct { SelectedContext list.Item // contains filtered or unexported fields }
func NewNatsContextModel ¶
func NewNatsContextModel(w, h int) NatsContextModel
func (NatsContextModel) Init ¶
func (m NatsContextModel) Init() tea.Cmd
func (NatsContextModel) View ¶
func (m NatsContextModel) View() string
Click to show internal directories.
Click to hide internal directories.