mirror of
https://github.com/kerberos-io/onvif.git
synced 2026-08-23 15:08:33 +00:00
rename imports
This commit is contained in:
8
.idea/.gitignore
generated
vendored
Normal file
8
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/onvif.iml" filepath="$PROJECT_DIR$/.idea/onvif.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
9
.idea/onvif.iml
generated
Normal file
9
.idea/onvif.iml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="Go" enabled="true" />
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -12,10 +12,10 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/beevik/etree"
|
||||
"github.com/use-go/onvif/device"
|
||||
"github.com/use-go/onvif/gosoap"
|
||||
"github.com/use-go/onvif/networking"
|
||||
wsdiscovery "github.com/use-go/onvif/ws-discovery"
|
||||
"github.com/kerberos-io/onvif/device"
|
||||
"github.com/kerberos-io/onvif/gosoap"
|
||||
"github.com/kerberos-io/onvif/networking"
|
||||
wsdiscovery "github.com/kerberos-io/onvif/ws-discovery"
|
||||
)
|
||||
|
||||
//Xlmns XML Scheam
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package imaging
|
||||
|
||||
import (
|
||||
"github.com/use-go/onvif/xsd"
|
||||
"github.com/use-go/onvif/xsd/onvif"
|
||||
"github.com/kerberos-io/onvif/xsd"
|
||||
"github.com/kerberos-io/onvif/xsd/onvif"
|
||||
)
|
||||
|
||||
type GetServiceCapabilities struct {
|
||||
|
||||
@@ -7,7 +7,7 @@ Simple management of onvif IP-devices cameras. onvif is an implementation of ON
|
||||
To install the library, use **go get**:
|
||||
|
||||
```go
|
||||
go get github.com/use-go/onvif
|
||||
go get github.com/kerberos-io/onvif
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package analytics
|
||||
|
||||
import (
|
||||
"github.com/use-go/onvif/xsd"
|
||||
"github.com/use-go/onvif/xsd/onvif"
|
||||
"github.com/kerberos-io/onvif/xsd"
|
||||
"github.com/kerberos-io/onvif/xsd/onvif"
|
||||
)
|
||||
|
||||
type GetSupportedRules struct {
|
||||
|
||||
@@ -12,10 +12,10 @@ import (
|
||||
|
||||
"github.com/beevik/etree"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/use-go/onvif"
|
||||
"github.com/use-go/onvif/gosoap"
|
||||
"github.com/use-go/onvif/networking"
|
||||
wsdiscovery "github.com/use-go/onvif/ws-discovery"
|
||||
"github.com/kerberos-io/onvif"
|
||||
"github.com/kerberos-io/onvif/gosoap"
|
||||
"github.com/kerberos-io/onvif/networking"
|
||||
wsdiscovery "github.com/kerberos-io/onvif/ws-discovery"
|
||||
)
|
||||
|
||||
func RunApi() {
|
||||
|
||||
@@ -3,9 +3,9 @@ package api
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/use-go/onvif/device"
|
||||
"github.com/use-go/onvif/media"
|
||||
"github.com/use-go/onvif/ptz"
|
||||
"github.com/kerberos-io/onvif/device"
|
||||
"github.com/kerberos-io/onvif/media"
|
||||
"github.com/kerberos-io/onvif/ptz"
|
||||
)
|
||||
|
||||
func getPTZStructByName(name string) (interface{}, error) {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package device
|
||||
|
||||
import (
|
||||
"github.com/use-go/onvif/xsd"
|
||||
"github.com/use-go/onvif/xsd/onvif"
|
||||
"github.com/kerberos-io/onvif/xsd"
|
||||
"github.com/kerberos-io/onvif/xsd/onvif"
|
||||
)
|
||||
|
||||
type Service struct {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package event
|
||||
|
||||
import (
|
||||
"github.com/use-go/onvif/xsd"
|
||||
"github.com/kerberos-io/onvif/xsd"
|
||||
)
|
||||
|
||||
//GetServiceCapabilities action
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package event
|
||||
|
||||
import (
|
||||
"github.com/use-go/onvif/xsd"
|
||||
"github.com/kerberos-io/onvif/xsd"
|
||||
)
|
||||
|
||||
//Address Alias
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
"log"
|
||||
"net/http"
|
||||
|
||||
goonvif "github.com/use-go/onvif"
|
||||
"github.com/use-go/onvif/device"
|
||||
"github.com/use-go/onvif/gosoap"
|
||||
"github.com/use-go/onvif/xsd/onvif"
|
||||
goonvif "github.com/kerberos-io/onvif"
|
||||
"github.com/kerberos-io/onvif/device"
|
||||
"github.com/kerberos-io/onvif/gosoap"
|
||||
"github.com/kerberos-io/onvif/xsd/onvif"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -65,7 +65,7 @@ func main() {
|
||||
log.Println(err)
|
||||
} else {
|
||||
/*
|
||||
You could use https://github.com/use-go/onvif/gosoap for pretty printing response
|
||||
You could use https://github.com/kerberos-io/onvif/gosoap for pretty printing response
|
||||
*/
|
||||
fmt.Println(gosoap.SoapMessage(readResponse(createUserResponse)).StringIndent())
|
||||
}
|
||||
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/beevik/etree"
|
||||
"github.com/use-go/onvif"
|
||||
"github.com/use-go/onvif/device"
|
||||
discover "github.com/use-go/onvif/ws-discovery"
|
||||
"github.com/kerberos-io/onvif"
|
||||
"github.com/kerberos-io/onvif/device"
|
||||
discover "github.com/kerberos-io/onvif/ws-discovery"
|
||||
)
|
||||
|
||||
func TestGetAvailableDevicesAtSpecificEthernetInterface(t *testing.T) {
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/use-go/onvif
|
||||
module github.com/kerberos-io/onvif
|
||||
|
||||
go 1.15
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package media
|
||||
|
||||
import (
|
||||
"github.com/use-go/onvif/xsd"
|
||||
"github.com/use-go/onvif/xsd/onvif"
|
||||
"github.com/kerberos-io/onvif/xsd"
|
||||
"github.com/kerberos-io/onvif/xsd/onvif"
|
||||
)
|
||||
|
||||
type Capabilities struct {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package ptz
|
||||
|
||||
import (
|
||||
"github.com/use-go/onvif/xsd"
|
||||
"github.com/use-go/onvif/xsd/onvif"
|
||||
"github.com/kerberos-io/onvif/xsd"
|
||||
"github.com/kerberos-io/onvif/xsd/onvif"
|
||||
)
|
||||
|
||||
type Capabilities struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/beevik/etree"
|
||||
"github.com/use-go/onvif/gosoap"
|
||||
"github.com/kerberos-io/onvif/gosoap"
|
||||
)
|
||||
|
||||
func buildProbeMessage(uuidV4 string, scopes, types []string, nmsp map[string]string) gosoap.SoapMessage {
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/use-go/onvif/xsd/iso8601"
|
||||
"github.com/kerberos-io/onvif/xsd/iso8601"
|
||||
)
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package onvif
|
||||
|
||||
import (
|
||||
"github.com/use-go/onvif/xsd"
|
||||
"github.com/kerberos-io/onvif/xsd"
|
||||
)
|
||||
|
||||
// BUG(r): Enum types implemented as simple string
|
||||
|
||||
Reference in New Issue
Block a user