sysboard

package
v0.0.59 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled    *atomic.Bool `json:"enabled"`
	BoardDelay string       `json:"boardDelay"`
	// contains filtered or unexported fields
}

Config ...

func (*Config) SetDefaults

func (c *Config) SetDefaults()

SetDefaults ...

type SysBoard

type SysBoard struct {
	sync.Mutex
	// contains filtered or unexported fields
}

SysBoard implements board.Board. Provides System info

func New

func New(logger *zap.Logger, config *Config) (*SysBoard, error)

New ...

func (*SysBoard) Disable added in v0.0.8

func (s *SysBoard) Disable()

Disable ...

func (*SysBoard) Enable added in v0.0.8

func (s *SysBoard) Enable()

Enable ...

func (*SysBoard) Enabled

func (s *SysBoard) Enabled() bool

Enabled ...

func (*SysBoard) GetHTTPHandlers

func (s *SysBoard) GetHTTPHandlers() ([]*board.HTTPHandler, error)

GetHTTPHandlers ...

func (*SysBoard) Name

func (s *SysBoard) Name() string

Name ...

func (*SysBoard) Render

func (s *SysBoard) Render(ctx context.Context, canvas board.Canvas) error

Render ...

func (*SysBoard) ScrollMode added in v0.0.29

func (s *SysBoard) ScrollMode() bool

ScrollMode ...

Jump to

Keyboard shortcuts

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