commandlog

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogMessage

type LogMessage struct {
	Name string
	Line string
	Err  error
}

func (*LogMessage) Print

func (log *LogMessage) Print()

type Store

type Store struct {
	// contains filtered or unexported fields
}

func NewStore

func NewStore() *Store

func (*Store) Delete

func (s *Store) Delete(name string) error

func (*Store) Save

func (s *Store) Save(logChan <-chan *LogMessage, name string) error

func (*Store) StreamAllLogs

func (s *Store) StreamAllLogs(follow bool) chan *LogMessage

func (*Store) StreamLogsByName

func (s *Store) StreamLogsByName(names []string, follow bool) chan *LogMessage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL