services

package
v0.0.0-...-273965d Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Probe

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

func NewProbe

func NewProbe(host string, port int) *Probe

func (*Probe) Close

func (s *Probe) Close()

func (*Probe) Serve

func (s *Probe) Serve() error

type SRT2VTT

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

func NewSRT2VTT

func NewSRT2VTT(url string) *SRT2VTT

func (*SRT2VTT) Get

func (s *SRT2VTT) Get() (string, error)

type SRT2VTTPool

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

func NewSRT2VTTPool

func NewSRT2VTTPool() *SRT2VTTPool

func (*SRT2VTTPool) Get

func (s *SRT2VTTPool) Get(url string) (string, error)

type Serve

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

func NewServe

func NewServe(w *Web, pr *Probe) *Serve

func (*Serve) Serve

func (s *Serve) Serve() error

type Web

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

func NewWeb

func NewWeb(pool *SRT2VTTPool, host string, port int, acao string) *Web

func (*Web) Close

func (s *Web) Close()

func (*Web) Serve

func (s *Web) Serve() error

Jump to

Keyboard shortcuts

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