vegraph-go-sdk

module
v0.0.0-...-326cea8 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0

README

Volcengine Graph Storage SDK for Go-veGraph

English | 中文

VeGraph Go Client provides support for interacting with the graph database veGraph.

Usage Examples

func TestGremlin(t *testing.T) {
    ctx := context.Background()
    cli, err := client.NewClient(
        client.WithHostPort("host:port"),
        WithUserPwd("user", "password"),
        WithDefaultTable("default"),
    )
    assert.True(t, err == nil)
    elements, err := cli.Submit(ctx, "g.V().has('id',1).has('type',1001).properties()", "default")
    assert.True(t, err == nil)
    t.Logf("result=%#v", elements)
}

License

Apache License 2.0

Directories

Path Synopsis
kitex_gen
bytegraph/bytegraphservice
Code generated by Kitex v0.3.4.
Code generated by Kitex v0.3.4.
provider

Jump to

Keyboard shortcuts

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