keydigital

package module
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

README

keydigital-driver

This is the driver for the Key Digital Video Switcher

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config zap.Config

Config is the logger config used for P

View Source
var (
	ErrOutOfRange = errors.New("input or output is out of range")
)

P is a plain zap logger

Functions

This section is empty.

Types

type VideoSwitcher added in v0.0.7

type VideoSwitcher struct {
	Address string
	Pool    *connpool.Pool
}

func CreateVideoSwitcher

func CreateVideoSwitcher(ctx context.Context, addr string, log connpool.Logger) (*VideoSwitcher, error)

func (*VideoSwitcher) GetHardwareInfo added in v0.0.7

func (vs *VideoSwitcher) GetHardwareInfo(ctx context.Context) (structs.HardwareInfo, error)

GetHardwareInfo .

func (*VideoSwitcher) GetInfo added in v0.0.7

func (vs *VideoSwitcher) GetInfo(ctx context.Context) (interface{}, error)

GetInfo .

func (*VideoSwitcher) GetInputByOutput added in v0.0.7

func (vs *VideoSwitcher) GetInputByOutput(ctx context.Context, output string) (string, error)

GetInputByOutput .

func (*VideoSwitcher) SetInputByOutput added in v0.0.7

func (vs *VideoSwitcher) SetInputByOutput(ctx context.Context, output, input string) error

SetInputByOutput .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL