chore: update repository references from go-onvif to onvif-go
This commit is contained in:
@@ -96,7 +96,7 @@ Help us maintain compatibility information:
|
||||
### Clone and Build
|
||||
|
||||
```bash
|
||||
git clone https://github.com/0x524A/go-onvif.git
|
||||
git clone https://github.com/0x524A/onvif-go.git
|
||||
cd go-onvif
|
||||
go build ./...
|
||||
```
|
||||
@@ -262,9 +262,9 @@ go-onvif/
|
||||
|
||||
## Getting Help
|
||||
|
||||
- 💬 [GitHub Discussions](https://github.com/0x524A/go-onvif/discussions) - Ask questions
|
||||
- 🐛 [GitHub Issues](https://github.com/0x524A/go-onvif/issues) - Report bugs
|
||||
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524A/go-onvif) - Read the docs
|
||||
- 💬 [GitHub Discussions](https://github.com/0x524A/onvif-go/discussions) - Ask questions
|
||||
- 🐛 [GitHub Issues](https://github.com/0x524A/onvif-go/issues) - Report bugs
|
||||
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524A/onvif-go) - Read the docs
|
||||
|
||||
## License
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ body:
|
||||
placeholder: |
|
||||
package main
|
||||
|
||||
import "github.com/0x524A/go-onvif"
|
||||
import "github.com/0x524A/onvif-go"
|
||||
|
||||
func main() {
|
||||
// Your code here
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: 💬 Discussions
|
||||
url: https://github.com/0x524A/go-onvif/discussions
|
||||
url: https://github.com/0x524A/onvif-go/discussions
|
||||
about: Ask questions and discuss ideas with the community
|
||||
- name: 📖 Documentation
|
||||
url: https://pkg.go.dev/github.com/0x524A/go-onvif
|
||||
url: https://pkg.go.dev/github.com/0x524A/onvif-go
|
||||
about: Read the API documentation
|
||||
- name: 📚 Examples
|
||||
url: https://github.com/0x524A/go-onvif/tree/main/examples
|
||||
url: https://github.com/0x524A/onvif-go/tree/main/examples
|
||||
about: Browse code examples
|
||||
|
||||
+4
-4
@@ -117,8 +117,8 @@ Docker images are automatically built for:
|
||||
|
||||
Available at:
|
||||
```
|
||||
ghcr.io/0x524a/go-onvif:latest
|
||||
ghcr.io/0x524a/go-onvif:v1.0.0
|
||||
ghcr.io/0x524a/onvif-go:latest
|
||||
ghcr.io/0x524a/onvif-go:v1.0.0
|
||||
```
|
||||
|
||||
## Manual GitHub Release
|
||||
@@ -209,8 +209,8 @@ Users can verify downloads using checksums:
|
||||
|
||||
```bash
|
||||
# Download binary and checksum
|
||||
wget https://github.com/0x524A/go-onvif/releases/download/v1.0.0/go-onvif-v1.0.0-linux-amd64.tar.gz
|
||||
wget https://github.com/0x524A/go-onvif/releases/download/v1.0.0/checksums.txt
|
||||
wget https://github.com/0x524A/onvif-go/releases/download/v1.0.0/onvif-go-v1.0.0-linux-amd64.tar.gz
|
||||
wget https://github.com/0x524A/onvif-go/releases/download/v1.0.0/checksums.txt
|
||||
|
||||
# Verify
|
||||
sha256sum -c checksums.txt --ignore-missing
|
||||
|
||||
+1
-1
@@ -48,4 +48,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Comprehensive documentation
|
||||
- README with usage guide
|
||||
|
||||
[Unreleased]: https://github.com/0x524A/go-onvif/compare/v0.1.0...HEAD
|
||||
[Unreleased]: https://github.com/0x524A/onvif-go/compare/v0.1.0...HEAD
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ git clone https://github.com/YOUR_USERNAME/go-onvif.git
|
||||
cd go-onvif
|
||||
|
||||
# Add upstream remote
|
||||
git remote add upstream https://github.com/0x524A/go-onvif.git
|
||||
git remote add upstream https://github.com/0x524A/onvif-go.git
|
||||
|
||||
# Create a branch
|
||||
git checkout -b feature/my-new-feature
|
||||
|
||||
@@ -85,7 +85,7 @@ We have successfully created a **comprehensive, production-ready Go ONVIF librar
|
||||
|
||||
### Basic Library Usage
|
||||
```go
|
||||
import "github.com/0x524A/go-onvif"
|
||||
import "github.com/0x524A/onvif-go"
|
||||
|
||||
client, err := onvif.NewClient(
|
||||
"http://192.168.1.100/onvif/device_service",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Go ONVIF Library Makefile
|
||||
# ONVIF GO Library Makefile
|
||||
|
||||
.PHONY: all build test clean install deps lint fmt vet check examples cli docker
|
||||
|
||||
@@ -181,7 +181,7 @@ release: build-all
|
||||
# Create Docker image
|
||||
docker:
|
||||
@echo "🐳 Building Docker image..."
|
||||
docker build -t go-onvif:latest .
|
||||
docker build -t onvif-go:latest .
|
||||
|
||||
# Development setup
|
||||
dev-setup:
|
||||
|
||||
+2
-2
@@ -191,7 +191,7 @@ Tested/compatible with major brands:
|
||||
## Usage Example
|
||||
|
||||
```go
|
||||
import "github.com/0x524A/go-onvif"
|
||||
import "github.com/0x524A/onvif-go"
|
||||
|
||||
// Create client
|
||||
client, _ := onvif.NewClient(
|
||||
@@ -255,7 +255,7 @@ go-onvif/
|
||||
|
||||
```bash
|
||||
# Install
|
||||
go get github.com/0x524A/go-onvif
|
||||
go get github.com/0x524A/onvif-go
|
||||
|
||||
# Run discovery example
|
||||
cd examples/discovery
|
||||
|
||||
+6
-6
@@ -5,7 +5,7 @@ Get up and running with go-onvif in 5 minutes!
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
go get github.com/0x524A/go-onvif
|
||||
go get github.com/0x524A/onvif-go
|
||||
```
|
||||
|
||||
## Step 1: Discover Cameras
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif/discovery"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -52,7 +52,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -178,7 +178,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -262,9 +262,9 @@ func main() {
|
||||
## Next Steps
|
||||
|
||||
1. **Explore Examples**: Check out the `examples/` directory for more detailed use cases
|
||||
2. **Read Documentation**: Visit [pkg.go.dev](https://pkg.go.dev/github.com/0x524A/go-onvif)
|
||||
2. **Read Documentation**: Visit [pkg.go.dev](https://pkg.go.dev/github.com/0x524A/onvif-go)
|
||||
3. **Review Architecture**: See [ARCHITECTURE.md](ARCHITECTURE.md) for design details
|
||||
4. **Check Issues**: Look at [GitHub Issues](https://github.com/0x524A/go-onvif/issues) for known issues
|
||||
4. **Check Issues**: Look at [GitHub Issues](https://github.com/0x524A/onvif-go/issues) for known issues
|
||||
|
||||
## Common Patterns
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# go-onvif - ONVIF Client and Server Library for Go
|
||||
# onvif-go - ONVIF Client and Server Library for Go
|
||||
|
||||
[](https://pkg.go.dev/github.com/0x524A/go-onvif)
|
||||
[](https://goreportcard.com/report/github.com/0x524A/go-onvif)
|
||||
[](LICENSE)
|
||||
[](https://github.com/0x524A/go-onvif/stargazers)
|
||||
[](https://github.com/0x524A/go-onvif/issues)
|
||||
[](https://pkg.go.dev/github.com/0x524A/onvif-go)
|
||||
[](https://goreportcard.com/report/github.com/0x524A/onvif-go)
|
||||
[](LICENSE)
|
||||
[](https://github.com/0x524A/onvif-go/stargazers)
|
||||
[](https://github.com/0x524A/onvif-go/issues)
|
||||
|
||||
> **Modern, high-performance Go library for ONVIF IP camera integration** - Control surveillance cameras, NVRs, and video devices with comprehensive ONVIF Profile S/T/G support. Includes both client and server implementations for complete ONVIF camera simulation and testing.
|
||||
|
||||
@@ -71,7 +71,7 @@ ONVIF (Open Network Video Interface Forum) is an open industry standard for IP-b
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
go get github.com/0x524A/go-onvif
|
||||
go get github.com/0x524A/onvif-go
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
@@ -87,7 +87,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif/discovery"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -118,7 +118,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -319,7 +319,7 @@ import (
|
||||
"context"
|
||||
"log"
|
||||
|
||||
"github.com/0x524A/go-onvif/server"
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -547,9 +547,9 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
|
||||
|
||||
## Support
|
||||
|
||||
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524A/go-onvif)
|
||||
- 🐛 [Issue Tracker](https://github.com/0x524A/go-onvif/issues)
|
||||
- 💬 [Discussions](https://github.com/0x524A/go-onvif/discussions)
|
||||
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524A/onvif-go)
|
||||
- 🐛 [Issue Tracker](https://github.com/0x524A/onvif-go/issues)
|
||||
- 💬 [Discussions](https://github.com/0x524A/onvif-go/discussions)
|
||||
- 🔒 [Security Policy](.github/SECURITY.md)
|
||||
|
||||
## Keywords
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ cd bin
|
||||
for platform in "${PLATFORMS[@]}"; do
|
||||
OS="${platform%/*}"
|
||||
ARCH="${platform#*/}"
|
||||
ARCHIVE_NAME="go-onvif-${VERSION}-${OS}-${ARCH}"
|
||||
ARCHIVE_NAME="onvif-go-${VERSION}-${OS}-${ARCH}"
|
||||
|
||||
# Check if any binary exists for this platform
|
||||
if [ "$OS" = "windows" ]; then
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/go-onvif/discovery"
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
)
|
||||
|
||||
type CLI struct {
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/go-onvif/discovery"
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif/server"
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -43,7 +43,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/xml"
|
||||
"fmt"
|
||||
|
||||
"github.com/0x524A/go-onvif/soap"
|
||||
"github.com/0x524A/onvif-go/soap"
|
||||
)
|
||||
|
||||
// Device service namespace
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/go-onvif/discovery"
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
)
|
||||
|
||||
// This is a comprehensive demonstration of all go-onvif features
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/go-onvif/discovery"
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif/discovery"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif/discovery"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif/server"
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/0x524A/go-onvif/server"
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/go-onvif/server"
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module github.com/0x524A/go-onvif
|
||||
module github.com/0x524A/onvif-go
|
||||
|
||||
go 1.21
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/xml"
|
||||
"fmt"
|
||||
|
||||
"github.com/0x524A/go-onvif/soap"
|
||||
"github.com/0x524A/onvif-go/soap"
|
||||
)
|
||||
|
||||
// Imaging service namespace
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/xml"
|
||||
"fmt"
|
||||
|
||||
"github.com/0x524A/go-onvif/soap"
|
||||
"github.com/0x524A/onvif-go/soap"
|
||||
)
|
||||
|
||||
// Media service namespace
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/xml"
|
||||
"fmt"
|
||||
|
||||
"github.com/0x524A/go-onvif/soap"
|
||||
"github.com/0x524A/onvif-go/soap"
|
||||
)
|
||||
|
||||
// PTZ service namespace
|
||||
|
||||
@@ -213,7 +213,7 @@ package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/0x524A/go-onvif/server"
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
+5
-5
@@ -41,7 +41,7 @@ A complete ONVIF-compliant server implementation that simulates multi-lens IP ca
|
||||
|
||||
```bash
|
||||
# Clone the repository (if not already done)
|
||||
git clone https://github.com/0x524A/go-onvif
|
||||
git clone https://github.com/0x524A/onvif-go
|
||||
cd go-onvif
|
||||
|
||||
# Build the server CLI
|
||||
@@ -128,7 +128,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif/server"
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -164,7 +164,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif/server"
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -251,7 +251,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -430,7 +430,7 @@ This project is licensed under the MIT License - see the [LICENSE](../../LICENSE
|
||||
|
||||
## Acknowledgments
|
||||
|
||||
- Built on top of the [go-onvif](https://github.com/0x524A/go-onvif) client library
|
||||
- Built on top of the [go-onvif](https://github.com/0x524A/onvif-go) client library
|
||||
- ONVIF specifications from [ONVIF.org](https://www.onvif.org)
|
||||
- Inspired by the need for flexible camera simulation in development workflows
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif/server/soap"
|
||||
"github.com/0x524A/onvif-go/server/soap"
|
||||
)
|
||||
|
||||
// Device service SOAP message types
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif/server/soap"
|
||||
"github.com/0x524A/onvif-go/server/soap"
|
||||
)
|
||||
|
||||
// New creates a new ONVIF server with the given configuration
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
originsoap "github.com/0x524A/go-onvif/soap"
|
||||
originsoap "github.com/0x524A/onvif-go/soap"
|
||||
)
|
||||
|
||||
// Handler handles incoming SOAP requests
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
// Config represents the ONVIF server configuration
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
onviftesting "github.com/0x524A/go-onvif/testing"
|
||||
"github.com/0x524A/onvif-go"
|
||||
onviftesting "github.com/0x524A/onvif-go/testing"
|
||||
)
|
||||
|
||||
// TestBosch_FLEXIDOME_indoor_5100i_IR_8710066 tests ONVIF client against Bosch_FLEXIDOME_indoor_5100i_IR_8.71.0066 captured responses
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/go-onvif"
|
||||
"github.com/0x524A/onvif-go"
|
||||
)
|
||||
|
||||
// TestEnhancedDeviceFeatures tests new Device service methods with real camera data
|
||||
|
||||
Reference in New Issue
Block a user