aidenoise

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AINoiseConfig

type AINoiseConfig struct {
	Enabled     bool   `json:"enabled"`
	DenoisePath string `json:"denoisePath"`
}

type Control

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

func NewAIDenoise

func NewAIDenoise(dryRun bool) (*Control, error)

func (*Control) Apply

func (c *Control) Apply() error

Apply satisfies persist.Registry

func (*Control) Close

func (c *Control) Close() error

Close satisfied persist.Registry

func (*Control) GetWSInfo

func (c *Control) GetWSInfo() gin.H

----------- Web Socket -----------

func (*Control) HandleWSMessage

func (c *Control) HandleWSMessage(ws *websocket.Conn, action int, value string)

func (*Control) Initialize

func (c *Control) Initialize() error

Initialize satisfies system/plugin.Plugin

func (*Control) Load

func (c *Control) Load(v []byte) error

Load satisfies persist.Registry

func (*Control) Name

func (c *Control) Name() string

Name satisfies persist.Registry

func (*Control) Notify

func (c *Control) Notify(t plugin.Notification)

Notify satisfies system/plugin.Plugin

func (*Control) Run

func (c *Control) Run(haltCtx context.Context, cb chan<- plugin.Callback) <-chan error

Run satisfies system/plugin.Plugin

func (*Control) Value

func (c *Control) Value() []byte

Value satisfies persist.Registry

Jump to

Keyboard shortcuts

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