refactor: rename package to transcoder
parent
2f8019cb5a
commit
a37c11daf8
6
main.go
6
main.go
|
@ -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)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package go_vod
|
||||
package transcoder
|
||||
|
||||
type Chunk struct {
|
||||
id int
|
|
@ -1,4 +1,4 @@
|
|||
package go_vod
|
||||
package transcoder
|
||||
|
||||
import (
|
||||
"encoding/json"
|
|
@ -1,4 +1,4 @@
|
|||
package go_vod
|
||||
package transcoder
|
||||
|
||||
import (
|
||||
"context"
|
|
@ -1,4 +1,4 @@
|
|||
package go_vod
|
||||
package transcoder
|
||||
|
||||
import (
|
||||
"bytes"
|
|
@ -1,4 +1,4 @@
|
|||
package go_vod
|
||||
package transcoder
|
||||
|
||||
import (
|
||||
"bufio"
|
|
@ -1,4 +1,4 @@
|
|||
package go_vod
|
||||
package transcoder
|
||||
|
||||
import (
|
||||
"encoding/json"
|
|
@ -1,4 +1,4 @@
|
|||
package go_vod
|
||||
package transcoder
|
||||
|
||||
import "net/http"
|
||||
|
Loading…
Reference in New Issue