Documentation
¶
Overview ¶
Package websocket is the editor for WebSocket requests: a connection the user opens, sends messages on, and watches.
Index ¶
- type Container
- func (c *Container) Close()
- func (c *Container) Dirty() bool
- func (c *Container) ID() string
- func (c *Container) Kind() container.Kind
- func (c *Container) Layout(ctx *ui.Ctx) ui.View
- func (c *Container) Save() error
- func (c *Container) Send()
- func (c *Container) TabIcon(th *theme.Theme) (icons.Icon, render.Color)
- func (c *Container) Title() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
func (*Container) Close ¶
func (c *Container) Close()
Close disconnects: a tab that is gone must not keep a socket open.
func (*Container) Send ¶
func (c *Container) Send()
Send is ⌘↵: it connects, or once connected sends the message being written.
Click to show internal directories.
Click to hide internal directories.