From c77ef061e2c52f0903403d55015737e89851f5b4 Mon Sep 17 00:00:00 2001 From: Eric Solender Date: Mon, 2 Aug 2021 09:08:54 -0400 Subject: [PATCH] updated readme --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f543b96..6709201 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ go get -u github.com/mindstand/gogm/v2 - Driver has been updated from v1.6 to v4 - Log interface, so anyone can use the logger of their choice instead of being forced to use logrus - Primary Key strategies to use any type of primary key. GoGM is no longer UUID only! +- TLS now supported ## Usage @@ -146,11 +147,14 @@ func main() { config := gogm.Config{ Host: "0.0.0.0", Port: 7687, - IsCluster: false, //tells it whether or not to use `bolt+routing` + // deprecated in favor of protocol + // IsCluster: false, + Protocol: "neo4j", //also supports neo4j+s, neo4j+ssc, bolt, bolt+s and bolt+ssc + // Specify CA Public Key when using +ssc or +s + CAFileLocation: "my-ca-public.crt", Username: "neo4j", Password: "password", PoolSize: 50, - Encrypted: false, IndexStrategy: gogm.VALIDATE_INDEX, //other options are ASSERT_INDEX and IGNORE_INDEX TargetDbs: nil, // default logger wraps the go "log" package, implement the Logger interface from gogm to use your own logger @@ -311,7 +315,6 @@ Inspiration came from the Java OGM implementation by Neo4j. ## Road Map - Schema Migration - Errors overhaul using go 1.13 error wrapping -- TLS Support ## How you can help - Report Bugs