move subpackages into internal/
This commit is contained in:
@@ -17,10 +17,10 @@ import (
|
||||
"github.com/aler9/gortsplib/headers"
|
||||
"github.com/aler9/gortsplib/rtcpreceiver"
|
||||
|
||||
"github.com/aler9/rtsp-simple-server/conf"
|
||||
"github.com/aler9/rtsp-simple-server/externalcmd"
|
||||
"github.com/aler9/rtsp-simple-server/serverudp"
|
||||
"github.com/aler9/rtsp-simple-server/stats"
|
||||
"github.com/aler9/rtsp-simple-server/internal/conf"
|
||||
"github.com/aler9/rtsp-simple-server/internal/externalcmd"
|
||||
"github.com/aler9/rtsp-simple-server/internal/serverudp"
|
||||
"github.com/aler9/rtsp-simple-server/internal/stats"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -8,11 +8,11 @@ import (
|
||||
"github.com/aler9/gortsplib/base"
|
||||
"github.com/aler9/gortsplib/headers"
|
||||
|
||||
"github.com/aler9/rtsp-simple-server/client"
|
||||
"github.com/aler9/rtsp-simple-server/pathman"
|
||||
"github.com/aler9/rtsp-simple-server/servertcp"
|
||||
"github.com/aler9/rtsp-simple-server/serverudp"
|
||||
"github.com/aler9/rtsp-simple-server/stats"
|
||||
"github.com/aler9/rtsp-simple-server/internal/client"
|
||||
"github.com/aler9/rtsp-simple-server/internal/pathman"
|
||||
"github.com/aler9/rtsp-simple-server/internal/servertcp"
|
||||
"github.com/aler9/rtsp-simple-server/internal/serverudp"
|
||||
"github.com/aler9/rtsp-simple-server/internal/stats"
|
||||
)
|
||||
|
||||
type Parent interface {
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"github.com/aler9/gortsplib/headers"
|
||||
"gopkg.in/yaml.v2"
|
||||
|
||||
"github.com/aler9/rtsp-simple-server/confenv"
|
||||
"github.com/aler9/rtsp-simple-server/loghandler"
|
||||
"github.com/aler9/rtsp-simple-server/internal/confenv"
|
||||
"github.com/aler9/rtsp-simple-server/internal/loghandler"
|
||||
)
|
||||
|
||||
type Conf struct {
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/aler9/rtsp-simple-server/syslog"
|
||||
"github.com/aler9/rtsp-simple-server/internal/syslog"
|
||||
)
|
||||
|
||||
type Destination int
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/aler9/rtsp-simple-server/stats"
|
||||
"github.com/aler9/rtsp-simple-server/internal/stats"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -11,12 +11,12 @@ import (
|
||||
"github.com/aler9/gortsplib"
|
||||
"github.com/aler9/gortsplib/base"
|
||||
|
||||
"github.com/aler9/rtsp-simple-server/client"
|
||||
"github.com/aler9/rtsp-simple-server/conf"
|
||||
"github.com/aler9/rtsp-simple-server/externalcmd"
|
||||
"github.com/aler9/rtsp-simple-server/sourcertmp"
|
||||
"github.com/aler9/rtsp-simple-server/sourcertsp"
|
||||
"github.com/aler9/rtsp-simple-server/stats"
|
||||
"github.com/aler9/rtsp-simple-server/internal/client"
|
||||
"github.com/aler9/rtsp-simple-server/internal/conf"
|
||||
"github.com/aler9/rtsp-simple-server/internal/externalcmd"
|
||||
"github.com/aler9/rtsp-simple-server/internal/sourcertmp"
|
||||
"github.com/aler9/rtsp-simple-server/internal/sourcertsp"
|
||||
"github.com/aler9/rtsp-simple-server/internal/stats"
|
||||
)
|
||||
|
||||
func newEmptyTimer() *time.Timer {
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
"github.com/aler9/gortsplib/base"
|
||||
"github.com/aler9/gortsplib/headers"
|
||||
|
||||
"github.com/aler9/rtsp-simple-server/client"
|
||||
"github.com/aler9/rtsp-simple-server/conf"
|
||||
"github.com/aler9/rtsp-simple-server/path"
|
||||
"github.com/aler9/rtsp-simple-server/stats"
|
||||
"github.com/aler9/rtsp-simple-server/internal/client"
|
||||
"github.com/aler9/rtsp-simple-server/internal/conf"
|
||||
"github.com/aler9/rtsp-simple-server/internal/path"
|
||||
"github.com/aler9/rtsp-simple-server/internal/stats"
|
||||
)
|
||||
|
||||
type Parent interface {
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"github.com/notedit/rtmp/codec/h264"
|
||||
"github.com/notedit/rtmp/format/rtmp"
|
||||
|
||||
"github.com/aler9/rtsp-simple-server/stats"
|
||||
"github.com/aler9/rtsp-simple-server/internal/stats"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
"github.com/aler9/gortsplib"
|
||||
|
||||
"github.com/aler9/rtsp-simple-server/stats"
|
||||
"github.com/aler9/rtsp-simple-server/internal/stats"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -10,16 +10,16 @@ import (
|
||||
"github.com/aler9/gortsplib"
|
||||
"gopkg.in/alecthomas/kingpin.v2"
|
||||
|
||||
"github.com/aler9/rtsp-simple-server/clientman"
|
||||
"github.com/aler9/rtsp-simple-server/conf"
|
||||
"github.com/aler9/rtsp-simple-server/confwatcher"
|
||||
"github.com/aler9/rtsp-simple-server/loghandler"
|
||||
"github.com/aler9/rtsp-simple-server/metrics"
|
||||
"github.com/aler9/rtsp-simple-server/pathman"
|
||||
"github.com/aler9/rtsp-simple-server/pprof"
|
||||
"github.com/aler9/rtsp-simple-server/servertcp"
|
||||
"github.com/aler9/rtsp-simple-server/serverudp"
|
||||
"github.com/aler9/rtsp-simple-server/stats"
|
||||
"github.com/aler9/rtsp-simple-server/internal/clientman"
|
||||
"github.com/aler9/rtsp-simple-server/internal/conf"
|
||||
"github.com/aler9/rtsp-simple-server/internal/confwatcher"
|
||||
"github.com/aler9/rtsp-simple-server/internal/loghandler"
|
||||
"github.com/aler9/rtsp-simple-server/internal/metrics"
|
||||
"github.com/aler9/rtsp-simple-server/internal/pathman"
|
||||
"github.com/aler9/rtsp-simple-server/internal/pprof"
|
||||
"github.com/aler9/rtsp-simple-server/internal/servertcp"
|
||||
"github.com/aler9/rtsp-simple-server/internal/serverudp"
|
||||
"github.com/aler9/rtsp-simple-server/internal/stats"
|
||||
)
|
||||
|
||||
var Version = "v0.0.0"
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ import (
|
||||
"github.com/aler9/gortsplib"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/aler9/rtsp-simple-server/conf"
|
||||
"github.com/aler9/rtsp-simple-server/internal/conf"
|
||||
)
|
||||
|
||||
var ownDockerIp = func() string {
|
||||
|
||||
Reference in New Issue
Block a user