Documentation ¶
Index ¶
- Constants
- type Playground
- func (V *Playground) Encode() (map[string]any, error)
- func (C *Playground) Focus(delegate func(p tview.Primitive))
- func (C *Playground) Mount(context map[string]any) error
- func (C *Playground) PushToPlayground() (string, error)
- func (C *Playground) Rebuild(rebuildScope bool) error
- func (C *Playground) SetFlexDirection(dir int)
- func (C *Playground) SetScopeConfig(sc helpers.SourceConfig)
- func (C *Playground) SetText(s string)
- func (*Playground) TypeName() string
- func (C *Playground) UseScope(visible bool)
Constants ¶
View Source
const HTTP2_GOAWAY_CHECK = "http2: server sent GOAWAY and closed the connection"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Playground ¶
type Playground struct { // *tview.Frame eventually? *tview.Flex // contains filtered or unexported fields }
func New ¶
func New(initialText string, scopeSourceConfig helpers.SourceConfig) *Playground
func (*Playground) Focus ¶
func (C *Playground) Focus(delegate func(p tview.Primitive))
func (*Playground) PushToPlayground ¶
func (C *Playground) PushToPlayground() (string, error)
func (*Playground) Rebuild ¶
func (C *Playground) Rebuild(rebuildScope bool) error
func (*Playground) SetFlexDirection ¶
func (C *Playground) SetFlexDirection(dir int)
func (*Playground) SetScopeConfig ¶
func (C *Playground) SetScopeConfig(sc helpers.SourceConfig)
func (*Playground) SetText ¶
func (C *Playground) SetText(s string)
func (*Playground) TypeName ¶
func (*Playground) TypeName() string
func (*Playground) UseScope ¶
func (C *Playground) UseScope(visible bool)
Click to show internal directories.
Click to hide internal directories.