chore: update repository references from go-onvif to onvif-go

This commit is contained in:
ProtoTess
2025-11-12 17:45:04 +00:00
parent a6fda445f3
commit ea382eb9dc
43 changed files with 80 additions and 80 deletions
+4 -4
View File
@@ -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
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
+1 -1
View File
@@ -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",
+2 -2
View File
@@ -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
View File
@@ -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
View File
@@ -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
+13 -13
View File
@@ -1,10 +1,10 @@
# go-onvif - ONVIF Client and Server Library for Go
# onvif-go - ONVIF Client and Server Library for Go
[![Go Reference](https://pkg.go.dev/badge/github.com/0x524A/go-onvif.svg)](https://pkg.go.dev/github.com/0x524A/go-onvif)
[![Go Report Card](https://goreportcard.com/badge/github.com/0x524A/go-onvif)](https://goreportcard.com/report/github.com/0x524A/go-onvif)
[![License](https://img.shields.io/github/license/0x524A/go-onvif)](LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/0x524A/go-onvif)](https://github.com/0x524A/go-onvif/stargazers)
[![GitHub issues](https://img.shields.io/github/issues/0x524A/go-onvif)](https://github.com/0x524A/go-onvif/issues)
[![Go Reference](https://pkg.go.dev/badge/github.com/0x524A/onvif-go.svg)](https://pkg.go.dev/github.com/0x524A/onvif-go)
[![Go Report Card](https://goreportcard.com/badge/github.com/0x524A/onvif-go)](https://goreportcard.com/report/github.com/0x524A/onvif-go)
[![License](https://img.shields.io/github/license/0x524A/onvif-go)](LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/0x524A/onvif-go)](https://github.com/0x524A/onvif-go/stargazers)
[![GitHub issues](https://img.shields.io/github/issues/0x524A/onvif-go)](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
View File
@@ -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
+2 -2
View File
@@ -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 {
+2 -2
View File
@@ -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() {
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"syscall"
"time"
"github.com/0x524A/go-onvif/server"
"github.com/0x524A/onvif-go/server"
)
var (
+1 -1
View File
@@ -43,7 +43,7 @@ import (
"fmt"
"time"
"github.com/0x524A/go-onvif"
"github.com/0x524A/onvif-go"
)
func main() {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/xml"
"fmt"
"github.com/0x524A/go-onvif/soap"
"github.com/0x524A/onvif-go/soap"
)
// Device service namespace
+2 -2
View File
@@ -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
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"log"
"time"
"github.com/0x524A/go-onvif"
"github.com/0x524A/onvif-go"
)
func main() {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"log"
"time"
"github.com/0x524A/go-onvif"
"github.com/0x524A/onvif-go"
)
func main() {
+2 -2
View File
@@ -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() {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"log"
"time"
"github.com/0x524A/go-onvif/discovery"
"github.com/0x524A/onvif-go/discovery"
)
func main() {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"log"
"time"
"github.com/0x524A/go-onvif/discovery"
"github.com/0x524A/onvif-go/discovery"
)
func main() {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"log"
"time"
"github.com/0x524A/go-onvif"
"github.com/0x524A/onvif-go"
)
func main() {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"syscall"
"time"
"github.com/0x524A/go-onvif/server"
"github.com/0x524A/onvif-go/server"
)
func main() {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"log"
"time"
"github.com/0x524A/go-onvif"
"github.com/0x524A/onvif-go"
)
func main() {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt"
"log"
"github.com/0x524A/go-onvif/server"
"github.com/0x524A/onvif-go/server"
)
func main() {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"os"
"time"
"github.com/0x524A/go-onvif"
"github.com/0x524A/onvif-go"
)
var (
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"log"
"time"
"github.com/0x524A/go-onvif"
"github.com/0x524A/onvif-go"
)
func main() {
+2 -2
View File
@@ -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 -1
View File
@@ -1,3 +1,3 @@
module github.com/0x524A/go-onvif
module github.com/0x524A/onvif-go
go 1.21
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/xml"
"fmt"
"github.com/0x524A/go-onvif/soap"
"github.com/0x524A/onvif-go/soap"
)
// Imaging service namespace
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/xml"
"fmt"
"github.com/0x524A/go-onvif/soap"
"github.com/0x524A/onvif-go/soap"
)
// Media service namespace
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/xml"
"fmt"
"github.com/0x524A/go-onvif/soap"
"github.com/0x524A/onvif-go/soap"
)
// PTZ service namespace
+1 -1
View File
@@ -213,7 +213,7 @@ package main
import (
"context"
"github.com/0x524A/go-onvif/server"
"github.com/0x524A/onvif-go/server"
)
func main() {
+5 -5
View File
@@ -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
View File
@@ -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
View File
@@ -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
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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