This project is a Go client library for the Apache Bookkeeper Admin API.
- Go 1.18+
Import the client library:
go get -u github.com/protocol-laboratory/bookkeeper-admin-go
Create admin client first:
// default connect to localhost:8080
bkAdmin := NewDefaultBookkeeperAdmin()
Get bookie info:
bookieInfo, err := bkAdmin.BookieInfo()