-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmain.go
More file actions
37 lines (31 loc) Β· 1.42 KB
/
Copy pathmain.go
File metadata and controls
37 lines (31 loc) Β· 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 2025 Toly Pochkin
// SPDX-License-Identifier: Apache-2.0
package main
import (
"fmt"
)
func main() {
fmt.Println("π go-oversync - Two-Way Synchronization Library")
fmt.Println("================================================")
fmt.Println()
fmt.Println("go-oversync provides robust two-way synchronization between clients and servers")
fmt.Println("with conflict resolution, optimistic concurrency control, and idempotent operations.")
fmt.Println()
fmt.Println("π Available Examples:")
fmt.Println()
fmt.Println("1. π HTTP Server Example (examples/nethttp_server/)")
fmt.Println(" A complete two-way sync server using Go's net/http package")
fmt.Println(" Features: JWT auth, conflict resolution, business table handlers")
fmt.Println(" Run: cd examples/nethttp_server && go run .")
fmt.Println()
fmt.Println("2. π± Simple Client Example (examples/simple_client/)")
fmt.Println(" HTTP client demonstrating two-way sync API usage")
fmt.Println(" Features: Upload/download, conflict handling, watermark sync")
fmt.Println(" Run: cd examples/simple_client && go run .")
fmt.Println()
fmt.Println("3. ποΈ SQLite Client Example (examples/sqlite_client/)")
fmt.Println(" Offline-first SQLite client with automatic change tracking")
fmt.Println(" Features: SQLite triggers, metadata tables, background sync")
fmt.Println(" Run: cd examples/sqlite_client && go run .")
fmt.Println()
}