README ¶ Ginga-Client-Go 分布式锁 go版client Installation Install Ginga-Client-Go using the "go get" command: go get github.com/FastSchnell/Ginga-Client-Go/ginga Usage import "Ginga-Client-Go/ginga" func testLock() { c := ginga.Client{ Token: "test_token", Endpoint: "0.0.0.0:1903", Nonce: "test_nonce", } err := c.Lock() if err != nil { fmt.Println(err.Error()) return } defer c.Unlock() } Server Ginga Server License Ginga-Client-Go is available under the Apache License, Version 2.0. Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files test_ginga.go Directories ¶ Show internal Expand all Path Synopsis ginga Click to show internal directories. Click to hide internal directories.