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