EventStore-Client-Go

module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2021 License: Apache-2.0

README

EventStoreDB Client SDK for Golang Actions Status

This repository contains an EventStoreDB Client SDK written in Go.

Developing

Integration tests run against a server using Docker, with the EventStoreDB gRPC Client Test Container.

Setup dependencies

Some dependencies are required in order to work with the code:

  • Certificates for testing TLS requirements, located at ./certs.

Testing requires Docker to be installed.

Build the project

On Windows, you need Powershell. The version that comes standard with Windows is enough. On a Unix system, any bash compatible shell should work.

Windows
.\build.ps1
Unix (Linux or OSX)
./build.sh

To also regenerate protobuf and gRPC files while building

Windows
.\build.ps1 -generateProtos
Unix (Linux or OSX)
./build.sh --generate-protos

Run tests

go test ./esdb

Run docker compose for generating certificates:

docker-compose up
docker-compose down

Contributing

All contributions to the SDK are made via GitHub Pull Requests, and must be licensed under the Apache 2.0 license.

Directories

Path Synopsis
protos
persistent
Package persistent is a generated GoMock package.
Package persistent is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL