Move pkg/ice to internal/ice

Avoid exposing any non-standard API.
This commit is contained in:
Michael MacDonald
2019-03-01 07:39:19 -05:00
parent b8f3e36b00
commit 5084ad3370
29 changed files with 12 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
package webrtc package webrtc
import ( import (
"github.com/pions/webrtc/pkg/ice" "github.com/pions/webrtc/internal/ice"
) )
// Configuration defines a set of parameters to configure how the // Configuration defines a set of parameters to configure how the

View File

@@ -6,7 +6,7 @@ import (
"net" "net"
"github.com/pions/sdp/v2" "github.com/pions/sdp/v2"
"github.com/pions/webrtc/pkg/ice" "github.com/pions/webrtc/internal/ice"
) )
// ICECandidate represents a ice candidate // ICECandidate represents a ice candidate

View File

@@ -5,7 +5,7 @@ import (
"testing" "testing"
"github.com/pions/sdp/v2" "github.com/pions/sdp/v2"
"github.com/pions/webrtc/pkg/ice" "github.com/pions/webrtc/internal/ice"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View File

@@ -4,7 +4,7 @@ import (
"errors" "errors"
"sync" "sync"
"github.com/pions/webrtc/pkg/ice" "github.com/pions/webrtc/internal/ice"
) )
// The ICEGatherer gathers local host, server reflexive and relay // The ICEGatherer gathers local host, server reflexive and relay

View File

@@ -1,7 +1,7 @@
package webrtc package webrtc
import ( import (
"github.com/pions/webrtc/pkg/ice" "github.com/pions/webrtc/internal/ice"
"github.com/pions/webrtc/pkg/rtcerr" "github.com/pions/webrtc/pkg/rtcerr"
) )

View File

@@ -3,7 +3,7 @@ package webrtc
import ( import (
"testing" "testing"
"github.com/pions/webrtc/pkg/ice" "github.com/pions/webrtc/internal/ice"
"github.com/pions/webrtc/pkg/rtcerr" "github.com/pions/webrtc/pkg/rtcerr"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View File

@@ -5,8 +5,8 @@ import (
"errors" "errors"
"sync" "sync"
"github.com/pions/webrtc/internal/ice"
"github.com/pions/webrtc/internal/mux" "github.com/pions/webrtc/internal/mux"
"github.com/pions/webrtc/pkg/ice"
) )
// ICETransport allows an application access to information about the ICE // ICETransport allows an application access to information about the ICE

View File

@@ -1,6 +1,6 @@
package webrtc package webrtc
import "github.com/pions/webrtc/pkg/ice" import "github.com/pions/webrtc/internal/ice"
// ICETransportState represents the current state of the ICE transport. // ICETransportState represents the current state of the ICE transport.
type ICETransportState int type ICETransportState int

View File

@@ -3,7 +3,7 @@ package webrtc
import ( import (
"testing" "testing"
"github.com/pions/webrtc/pkg/ice" "github.com/pions/webrtc/internal/ice"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View File

@@ -14,7 +14,7 @@ import (
"github.com/pions/rtcp" "github.com/pions/rtcp"
"github.com/pions/sdp/v2" "github.com/pions/sdp/v2"
"github.com/pions/webrtc/pkg/ice" "github.com/pions/webrtc/internal/ice"
"github.com/pions/webrtc/pkg/logging" "github.com/pions/webrtc/pkg/logging"
"github.com/pions/webrtc/pkg/rtcerr" "github.com/pions/webrtc/pkg/rtcerr"
"github.com/pkg/errors" "github.com/pkg/errors"

View File

@@ -10,7 +10,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/pions/webrtc/pkg/ice" "github.com/pions/webrtc/internal/ice"
"github.com/pions/webrtc/pkg/rtcerr" "github.com/pions/webrtc/pkg/rtcerr"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"

View File

@@ -3,7 +3,7 @@ package webrtc
import ( import (
"time" "time"
"github.com/pions/webrtc/pkg/ice" "github.com/pions/webrtc/internal/ice"
) )
// SettingEngine allows influencing behavior in ways that are not // SettingEngine allows influencing behavior in ways that are not