refactor: rename go module
This commit is contained in:
parent
d8bd5d2d52
commit
1a2c6ad5b2
@ -5,8 +5,8 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/huin/goupnp"
|
||||
"github.com/huin/goupnp/ssdp"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/ssdp"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"log"
|
||||
"net/http"
|
||||
|
||||
"github.com/huin/goupnp/httpu"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/httpu"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/huin/goupnp/dcps/internetgateway1"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/dcps/internetgateway1"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/huin/goupnp/ssdp"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/ssdp"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -9,9 +9,9 @@ import (
|
||||
"strings"
|
||||
"text/template"
|
||||
|
||||
"github.com/huin/goupnp"
|
||||
"github.com/huin/goupnp/scpd"
|
||||
"github.com/huin/goupnp/soap"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/scpd"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/soap"
|
||||
)
|
||||
|
||||
// DCP collects together information about a UPnP Device Control Protocol.
|
||||
|
@ -15,8 +15,8 @@ import (
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/huin/goupnp"
|
||||
"github.com/huin/goupnp/soap"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/soap"
|
||||
)
|
||||
|
||||
// Hack to avoid Go complaining if time isn't used.
|
||||
|
@ -16,8 +16,8 @@ import (
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/huin/goupnp"
|
||||
"github.com/huin/goupnp/soap"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/soap"
|
||||
)
|
||||
|
||||
// Hack to avoid Go complaining if time isn't used.
|
||||
|
@ -15,8 +15,8 @@ import (
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/huin/goupnp"
|
||||
"github.com/huin/goupnp/soap"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/soap"
|
||||
)
|
||||
|
||||
// Hack to avoid Go complaining if time isn't used.
|
||||
|
@ -15,8 +15,8 @@ import (
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/huin/goupnp"
|
||||
"github.com/huin/goupnp/soap"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/soap"
|
||||
)
|
||||
|
||||
// Hack to avoid Go complaining if time isn't used.
|
||||
|
@ -19,8 +19,8 @@ import (
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/huin/goupnp"
|
||||
"github.com/huin/goupnp/soap"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/soap"
|
||||
)
|
||||
|
||||
// Hack to avoid Go complaining if time isn't used.
|
||||
|
@ -10,8 +10,8 @@ import (
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
"github.com/huin/goupnp/scpd"
|
||||
"github.com/huin/goupnp/soap"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/scpd"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/soap"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"net/url"
|
||||
"os"
|
||||
|
||||
"github.com/huin/goupnp"
|
||||
"github.com/huin/goupnp/dcps/internetgateway1"
|
||||
"github.com/huin/goupnp/dcps/internetgateway2"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/dcps/internetgateway1"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/dcps/internetgateway2"
|
||||
)
|
||||
|
||||
// Use discovered WANPPPConnection1 services to find external IP addresses.
|
||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module github.com/huin/goupnp
|
||||
module git.cyrilix.bzh/cyrilix/goupnp
|
||||
|
||||
go 1.14
|
||||
|
||||
|
@ -24,8 +24,8 @@ import (
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/huin/goupnp/httpu"
|
||||
"github.com/huin/goupnp/ssdp"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/httpu"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/ssdp"
|
||||
)
|
||||
|
||||
// ContextError is an error that wraps an error with some context information.
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"io"
|
||||
"net"
|
||||
|
||||
"github.com/huin/goupnp/httpu"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/httpu"
|
||||
)
|
||||
|
||||
// httpuClient creates a HTTPU client that multiplexes to all multicast-capable
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"net"
|
||||
"net/url"
|
||||
|
||||
"github.com/huin/goupnp/soap"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/soap"
|
||||
)
|
||||
|
||||
// ServiceClient is a SOAP client, root device and the service for the SOAP
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/huin/goupnp/httpu"
|
||||
"git.cyrilix.bzh/cyrilix/goupnp/httpu"
|
||||
)
|
||||
|
||||
const (
|
||||
|
Loading…
Reference in New Issue
Block a user