Documentation ¶ Index ¶ type Prefix func NewPrefix(cfg config.PrefixConfig) (*Prefix, error) func (p *Prefix) Add(name, command string, pid int, seq *config.Sequence) int func (p *Prefix) ApplyEvenPadding() func (p *Prefix) Render(idx int, withColor bool) string type PrefixData Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Prefix ¶ type Prefix struct { // contains filtered or unexported fields } func NewPrefix ¶ func NewPrefix(cfg config.PrefixConfig) (*Prefix, error) func (*Prefix) Add ¶ func (p *Prefix) Add(name, command string, pid int, seq *config.Sequence) int func (*Prefix) ApplyEvenPadding ¶ func (p *Prefix) ApplyEvenPadding() func (*Prefix) Render ¶ func (p *Prefix) Render(idx int, withColor bool) string type PrefixData ¶ type PrefixData struct { Index int Name string Command string Pid int Time string Padding string // contains filtered or unexported fields } Source Files ¶ View all Source files prefix.go Click to show internal directories. Click to hide internal directories.