Documentation ¶ Index ¶ func RegisterWebFlags(f []cli.Flag) []cli.Flag type SRT2VTT func NewSRT2VTT(cl *http.Client) *SRT2VTT func (s *SRT2VTT) Get(ctx context.Context, src string) (string, error) type Web func NewWeb(c *cli.Context, pool *SRT2VTT) *Web func (s *Web) Close() func (s *Web) Serve() error 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 Source Files ¶ View all Source files srt2vtt.goweb.go Click to show internal directories. Click to hide internal directories.