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