Documentation
¶
Index ¶
- func MustEmit(fn EmitFunc) func(any)
- func MustPut(sink Sink) func(ev *Ev)
- func NewTCPServer(ctx context.Context, addr string, upstream Sink, errCh chan error) error
- type Attr
- type AttrsBox
- type BoxSpec
- type CellSpec
- type ClickHandler
- type ClickHandlers
- type Dashboard
- type DashboardDef
- func (_ DashboardDef) AttrsBox(styles Styles) AttrsBox
- func (_ DashboardDef) ClickHandlers() ClickHandlers
- func (_ DashboardDef) DashboardRefresh(evs Evs, offset EvsOffset, evBox EvBox, mutate dscope.Mutate, ...) DashboardRefresh
- func (_ DashboardDef) EvBox(styles Styles) EvBox
- func (_ DashboardDef) Evs() Evs
- func (_ DashboardDef) EvsOffset() EvsOffset
- func (_ DashboardDef) Refresh(refresh DashboardRefresh) Refresh
- func (_ DashboardDef) ShowExtraAttrs() ShowExtraAttrs
- func (_ DashboardDef) Styles() (styles Styles)
- type DashboardRefresh
- type EmitFunc
- type Ev
- type EvBox
- type Evs
- type EvsOffset
- type PutFunc
- type PutOp
- type Refresh
- type RowSpec
- type ShowExtraAttrs
- type Sink
- type Styles
- type TCPClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BoxSpec ¶
type BoxSpec struct {
Rows []RowSpec
}
func (BoxSpec) DrawLeftBottom ¶
type ClickHandler ¶
type ClickHandlers ¶
type ClickHandlers []ClickHandler
type DashboardDef ¶
type DashboardDef struct{}
func (DashboardDef) AttrsBox ¶
func (_ DashboardDef) AttrsBox( styles Styles, ) AttrsBox
func (DashboardDef) ClickHandlers ¶
func (_ DashboardDef) ClickHandlers() ClickHandlers
func (DashboardDef) DashboardRefresh ¶
func (_ DashboardDef) DashboardRefresh( evs Evs, offset EvsOffset, evBox EvBox, mutate dscope.Mutate, extraAttrs ShowExtraAttrs, attrsBox AttrsBox, ) DashboardRefresh
func (DashboardDef) EvBox ¶
func (_ DashboardDef) EvBox( styles Styles, ) EvBox
func (DashboardDef) Evs ¶
func (_ DashboardDef) Evs() Evs
func (DashboardDef) EvsOffset ¶
func (_ DashboardDef) EvsOffset() EvsOffset
func (DashboardDef) Refresh ¶
func (_ DashboardDef) Refresh( refresh DashboardRefresh, ) Refresh
func (DashboardDef) ShowExtraAttrs ¶
func (_ DashboardDef) ShowExtraAttrs() ShowExtraAttrs
func (DashboardDef) Styles ¶
func (_ DashboardDef) Styles() (styles Styles)
type DashboardRefresh ¶
type DashboardRefresh func(screen tcell.Screen)
type EmitFunc ¶
func NewEmitter ¶
type ShowExtraAttrs ¶
type ShowExtraAttrs []Attr
Source Files
¶
Click to show internal directories.
Click to hide internal directories.