mirror of
https://gitlab.com/NebulousLabs/go-upnp.git
synced 2025-10-21 13:49:24 +08:00
Merge pull request #9 from dmmcquay/huin-goupnp
vendor: move github.com/huin/goupnp out of vendor
This commit is contained in:
@@ -12,8 +12,8 @@ import (
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/huin/goupnp"
|
||||
"github.com/huin/goupnp/soap"
|
||||
"github.com/NebulousLabs/go-upnp/goupnp"
|
||||
"github.com/NebulousLabs/go-upnp/goupnp/soap"
|
||||
)
|
||||
|
||||
// Hack to avoid Go complaining if time isn't used.
|
@@ -8,8 +8,8 @@ import (
|
||||
"fmt"
|
||||
"net/url"
|
||||
|
||||
"github.com/huin/goupnp/scpd"
|
||||
"github.com/huin/goupnp/soap"
|
||||
"github.com/NebulousLabs/go-upnp/goupnp/scpd"
|
||||
"github.com/NebulousLabs/go-upnp/goupnp/soap"
|
||||
)
|
||||
|
||||
const (
|
@@ -22,10 +22,10 @@ import (
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"golang.org/x/net/html/charset"
|
||||
"github.com/NebulousLabs/go-upnp/goupnp/httpu"
|
||||
"github.com/NebulousLabs/go-upnp/goupnp/ssdp"
|
||||
|
||||
"github.com/huin/goupnp/httpu"
|
||||
"github.com/huin/goupnp/ssdp"
|
||||
"golang.org/x/net/html/charset"
|
||||
)
|
||||
|
||||
// ContextError is an error that wraps an error with some context information.
|
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"net/url"
|
||||
|
||||
"github.com/huin/goupnp/soap"
|
||||
"github.com/NebulousLabs/go-upnp/goupnp/soap"
|
||||
)
|
||||
|
||||
// ServiceClient is a SOAP client, root device and the service for the SOAP
|
@@ -9,7 +9,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/huin/goupnp/httpu"
|
||||
"github.com/NebulousLabs/go-upnp/goupnp/httpu"
|
||||
)
|
||||
|
||||
const (
|
@@ -8,7 +8,7 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/huin/goupnp/httpu"
|
||||
"github.com/NebulousLabs/go-upnp/goupnp/httpu"
|
||||
)
|
||||
|
||||
const (
|
4
upnp.go
4
upnp.go
@@ -33,8 +33,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/NebulousLabs/fastrand"
|
||||
"github.com/huin/goupnp"
|
||||
"github.com/huin/goupnp/dcps/internetgateway1"
|
||||
"github.com/NebulousLabs/go-upnp/goupnp"
|
||||
"github.com/NebulousLabs/go-upnp/goupnp/dcps/internetgateway1"
|
||||
)
|
||||
|
||||
// An IGD provides an interface to the most commonly used functions of an
|
||||
|
Reference in New Issue
Block a user