Documentation
¶
Index ¶
- type LastNLines
- func (ll *LastNLines) Get() []string
- func (ll *LastNLines) GetFILO() []string
- func (ll *LastNLines) GetLIFO() []string
- func (ll *LastNLines) IsAlive() bool
- func (ll *LastNLines) LastItem() (string, error)
- func (ll *LastNLines) SetDepth(d int)
- func (ll *LastNLines) Start()
- func (ll *LastNLines) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LastNLines ¶
type LastNLines struct {
// contains filtered or unexported fields
}
func NewLNL ¶
func NewLNL(f string) *LastNLines
func (*LastNLines) Get ¶
func (ll *LastNLines) Get() []string
func (*LastNLines) GetFILO ¶
func (ll *LastNLines) GetFILO() []string
func (*LastNLines) GetLIFO ¶
func (ll *LastNLines) GetLIFO() []string
func (*LastNLines) IsAlive ¶
func (ll *LastNLines) IsAlive() bool
func (*LastNLines) LastItem ¶
func (ll *LastNLines) LastItem() (string, error)
func (*LastNLines) SetDepth ¶
func (ll *LastNLines) SetDepth(d int)
func (*LastNLines) Start ¶
func (ll *LastNLines) Start()
func (*LastNLines) Stop ¶
func (ll *LastNLines) Stop()
Click to show internal directories.
Click to hide internal directories.