mocks

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func To added in v0.4.0

func To[T interface{}](val interface{}) T

To convert interface to object

Types

type HTTPInvokerJSON added in v0.4.0

type HTTPInvokerJSON struct{ mock.Mock }

func (*HTTPInvokerJSON) InvokeJSON added in v0.4.0

func (m *HTTPInvokerJSON) InvokeJSON(in interface{}, out interface{}) error

func (*HTTPInvokerJSON) InvokeJSONU added in v0.4.0

func (m *HTTPInvokerJSON) InvokeJSONU(URL string, in interface{}, out interface{}) error

func (*HTTPInvokerJSON) InvokeText added in v0.4.0

func (m *HTTPInvokerJSON) InvokeText(in string, out interface{}) error

type Synthesizer added in v0.4.0

type Synthesizer struct{ mock.Mock }

func (*Synthesizer) Work added in v0.4.0

func (m *Synthesizer) Work(in *tapi.TTSRequestConfig) (*tapi.Result, error)

type Worker added in v0.4.0

type Worker struct{ mock.Mock }

func (*Worker) Process added in v0.4.0

func (m *Worker) Process(word, mi string) ([]aapi.ResultWord, error)

Jump to

Keyboard shortcuts

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