client

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client ...

func NewClient

func NewClient() Client

NewClient ...

func (Client) Fetch

func (t Client) Fetch(id, language string) (string, error)

Fetch ...

func (Client) List

func (t Client) List(id string) ([]string, error)

List ...

func (Client) Save

func (t Client) Save(id, language, filename string) error

Save ...

type Switch

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

Switch ...

func NewSwitch

func NewSwitch() Switch

NewSwitch ...

func (Switch) Help

func (s Switch) Help()

Help ...

func (Switch) Switch

func (s Switch) Switch() error

Switch ...

type TranscriptClient

type TranscriptClient interface {
	Save(id, language, fileName string) error
	List(id string) ([]string, error)
	Fetch(id, language string) (string, error)
}

TranscriptClient ...

Jump to

Keyboard shortcuts

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