protocol3000

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(code int) string

Types

type Device

type Device struct {
	Log *zap.Logger
	// contains filtered or unexported fields
}

func New

func New(addr string, opts ...Option) *Device

func (*Device) AudioVideoInputs added in v0.1.1

func (d *Device) AudioVideoInputs(ctx context.Context) (map[string]string, error)

func (*Device) Healthy added in v0.1.2

func (d *Device) Healthy(ctx context.Context) error

func (*Device) SetAudioVideoInput

func (d *Device) SetAudioVideoInput(ctx context.Context, output, input string) error

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithLogger

func WithLogger(l *zap.Logger) Option

Jump to

Keyboard shortcuts

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