services

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWebFlags

func RegisterWebFlags(f []cli.Flag) []cli.Flag

Types

type SRT2VTT

type SRT2VTT struct {
	lazymap.LazyMap[string]
	// contains filtered or unexported fields
}

func NewSRT2VTT

func NewSRT2VTT(cl *http.Client) *SRT2VTT

func (*SRT2VTT) Get

func (s *SRT2VTT) Get(ctx context.Context, src string) (string, error)

type Web

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

func NewWeb

func NewWeb(c *cli.Context, pool *SRT2VTT) *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