【文件属性】:
文件名称:redisgraph-go:一个Golang客户端以进行重图
文件大小:21KB
文件格式:ZIP
更新时间:2021-05-08 09:51:45
redis cypher golang-client redisgraph graphdatabase
重新分布
redisgraph-go是模块的Golang客户端。 它依靠进行Redis连接管理,并提供对RedisGraph的QUERY,EXPLAIN和DELETE命令的支持。
安装
只需做:
$ go get github.com/redislabs/redisgraph-go
用法
完整的redisgraph-go API记录在。
package main
import (
"fmt"
"os"
"github.com/gomodule/redigo/redis"
rg "github.com/redislabs/redisgraph-go"
)
func main () {
conn , _ := redis . Dial ( "tcp" , "127.0.0.1:6379" )
defer conn . Close ()
graph := rg . Graph
【文件预览】:
redisgraph-go-master
----graph.go(6KB)
----.github()
--------workflows()
--------release-drafter-config.yml(405B)
----client_test.go(11KB)
----LICENSE(1KB)
----examples()
--------redisgraph_tls_client()
----.gitignore(446B)
----record.go(668B)
----node.go(1KB)
----query_result.go(9KB)
----example_graph_test.go(4KB)
----.circleci()
--------config.yml(1KB)
----Makefile(503B)
----go.sum(2KB)
----edge.go(2KB)
----README.md(4KB)
----path.go(1KB)
----utils.go(2KB)
----go.mod(178B)