https://github.com/daptin/daptin-go-client
Daptin Golang Native Client
https://github.com/daptin/daptin-go-client
Last synced: 10 months ago
JSON representation
Daptin Golang Native Client
- Host: GitHub
- URL: https://github.com/daptin/daptin-go-client
- Owner: daptin
- Created: 2020-08-22T19:44:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T04:02:57.000Z (over 1 year ago)
- Last Synced: 2025-01-26T10:08:21.374Z (12 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Daptin Golang Client
```go
package main
import daptinClient "github.com/daptin/daptin-go-client"
import "log"
func main() {
clientConnection := daptinClient.NewDaptinClient("http://localhost:6336")
signUpResponses, err := clientConnection.ExecuteAction("signup", "user_account", map[string]interface{}{
"email": "test@example.com",
"name": "test account",
"password": "test@example.com",
"passwordConfirm": "test@example.com",
})
if err != nil {
log.Printf("Sign up failed: %v", signUpResponses)
}
}
```