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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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