refactor: rename package to transcoder

monorepo
Varun Patil 2023-11-01 01:03:28 -07:00
parent 2f8019cb5a
commit a37c11daf8
8 changed files with 10 additions and 10 deletions

View File

@ -5,14 +5,14 @@ import (
"log" "log"
"os" "os"
"github.com/pulsejet/go-vod/go_vod" "github.com/pulsejet/go-vod/transcoder"
) )
const VERSION = "0.1.28" const VERSION = "0.1.28"
func main() { func main() {
// Build initial configuration // Build initial configuration
c := &go_vod.Config{ c := &transcoder.Config{
VersionMonitor: false, VersionMonitor: false,
Version: VERSION, Version: VERSION,
Bind: ":47788", Bind: ":47788",
@ -40,7 +40,7 @@ func main() {
c.AutoDetect() c.AutoDetect()
// Start server // Start server
code := go_vod.NewHandler(c).Start() code := transcoder.NewHandler(c).Start()
// Exit // Exit
log.Println("Exiting go-vod with status code", code) log.Println("Exiting go-vod with status code", code)

View File

@ -1,4 +1,4 @@
package go_vod package transcoder
type Chunk struct { type Chunk struct {
id int id int

View File

@ -1,4 +1,4 @@
package go_vod package transcoder
import ( import (
"encoding/json" "encoding/json"

View File

@ -1,4 +1,4 @@
package go_vod package transcoder
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package go_vod package transcoder
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package go_vod package transcoder
import ( import (
"bufio" "bufio"

View File

@ -1,4 +1,4 @@
package go_vod package transcoder
import ( import (
"encoding/json" "encoding/json"

View File

@ -1,4 +1,4 @@
package go_vod package transcoder
import "net/http" import "net/http"