mirror

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ProtocolName = "mirror"

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

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

Device 原始设备

type EncodeModel

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

type Plugin

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

func NewPlugin added in v1.0.0

func NewPlugin() *Plugin

func (*Plugin) Connector

func (p *Plugin) Connector(deviceSn string) (connector plugin.Connector, err error)

func (*Plugin) Destroy

func (p *Plugin) Destroy() error

func (*Plugin) Initialize

func (p *Plugin) Initialize(logger *zap.Logger, c config.Config, ls *lua.LState)

func (*Plugin) IsReady added in v1.0.0

func (p *Plugin) IsReady() bool

插件是否已就绪

func (*Plugin) UpdateMirrorMapping added in v1.0.0

func (p *Plugin) UpdateMirrorMapping(model config.DeviceModel) error

UpdateMirrorMapping 更新镜像设备映射关系

Jump to

Keyboard shortcuts

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