transcoder

package
v0.0.0-...-637ab5e Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConnectionFailed     = errors.New("couldn't connect to distributor server")
	ErrCouldNotJoinCluster  = errors.New("couldn't join the transcoding cluster")
	ErrCouldNotUploadResult = errors.New("couldn't upload results to the host server")
)

Functions

func ExecuteCli

func ExecuteCli()

Types

type Client

type Client struct {
	ServerAddr        string
	MaxConcurrentJobs int64
	// contains filtered or unexported fields
}

func NewClient

func NewClient(serverAddr string, maxConcurrentJobs int64) *Client

func (*Client) JoinCluster

func (c *Client) JoinCluster(ctx context.Context) error

Jump to

Keyboard shortcuts

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