Skip to content

About

YugabyteDB protobufs for golang

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YugabyteDB protobuf and GRPC clients

Generated from the YugabyteDB provided proto files, no enterprise protobufs here.

Regenerate

Clone YugabyteDB sources somewhere:

mkdir -p /tmp/ybdb
cd /tmp/ybdb
git clone https://github.com/yugabyte/yugabyte-db.git .
git checkout v2.13.0

Clone this repository:

mkdir -p ${GOPATH}/src/github.com/radekg/yugabyte-db-go-proto
cd ${GOPATH}/src/github.com/radekg/yugabyte-db-go-proto
git clone https://github.com/radekg/yugabyte-db-go-proto.git .

Generate:

make YB_SRC_DIR=/tmp/ybdb clean get-proto gen-proto

Using

import (
    ybApi "github.com/radekg/yugabyte-db-go-proto/v2/yb/api"
)

For a real world example, have a look at the reference YugabyteDB CLI client.

About

YugabyteDB protobufs for golang

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages