Documentation
¶
Index ¶
- func NewQueue() *queue
- type App
- func (this *App) Bus() gopi.Bus
- func (this *App) Close() error
- func (this *App) Display() gopi.Display
- func (this *App) Emit(e gopi.Event)
- func (this *App) Flags() gopi.Flags
- func (this *App) Fonts() gopi.FontManager
- func (this *App) GPIO() gopi.GPIO
- func (this *App) I2C() gopi.I2C
- func (this *App) Init(name string, units []string) error
- func (this *App) Input() gopi.InputManager
- func (this *App) LIRC() gopi.LIRC
- func (this *App) Log() gopi.Logger
- func (this *App) Platform() gopi.Platform
- func (this *App) Run() int
- func (this *App) SPI() gopi.SPI
- func (this *App) Start(args []string) error
- func (this *App) String() string
- func (this *App) Surfaces() gopi.SurfaceManager
- func (this *App) Timer() gopi.Timer
- func (this *App) UnitInstance(name string) gopi.Unit
- func (this *App) UnitInstancesByName(name string) []gopi.Unit
- func (this *App) WaitForSignal(ctx context.Context, signals ...os.Signal) error
- type Logger
- func (this *Logger) Clone(name string) gopi.Logger
- func (this *Logger) Debug(args ...interface{})
- func (this *Logger) Error(err error) error
- func (this *Logger) Init(writer io.Writer, name string, debug bool) error
- func (this *Logger) IsDebug() bool
- func (this *Logger) Name() string
- func (this *Logger) String() string
- type Publisher
- func (this *Publisher) Close()
- func (this *Publisher) Emit(num uint, value interface{})
- func (this *Publisher) Init(num uint) *queue
- func (this *Publisher) NextToken() gopi.Channel
- func (this *Publisher) Subscribe(num uint, callback func(value interface{})) gopi.Channel
- func (this *Publisher) Unsubscribe(token gopi.Channel)
- type Unit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct { Unit // contains filtered or unexported fields }
Logger is the base struct for any logger
Click to show internal directories.
Click to hide internal directories.