We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just like redigo/go-redis or aerospike-client-go
The text was updated successfully, but these errors were encountered:
I don't really see the point since it is a gRPC Service, it should be consumed via gRPC client, eg.:
import ( ceteProto "github.com/mosuka/cete/protobuf" "google.golang.org/grpc" ) type Data struct { UID string Data string } dialOpts := append([]grpc.DialOption{}, grpc.WithInsecure(), grpc.WithDefaultCallOptions(grpc.EmptyCallOption{})) conn, err := grpc.Dial(":9000", dialOpts...) if err != nil { log.Fatal(err) } client := ceteProto.NewKVSClient(conn) data := &Data{ UID: "123", Data: "test", } dataJson, err := json.Marshal(data) if err != nil { log.Fatal(err) } _, err = client.Set(context.Background(), &ceteProto.SetRequest{ Key: data.UID, Value: dataJson, }) if err != nil { return "", err }
I've experimented on this repository: https://github.com/vniche/users-microservice
Sorry, something went wrong.
No branches or pull requests
Just like redigo/go-redis or aerospike-client-go
The text was updated successfully, but these errors were encountered: