dgraph

package
v0.0.0-...-9dc60f2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*dgo.Dgraph
	// contains filtered or unexported fields
}

Client is our Dgraph API wrapper

func NewClient

func NewClient() *Client

NewClient generates an instance of our client

func (*Client) Close

func (c *Client) Close() error

Close the connection

func (*Client) Connect

func (c *Client) Connect()

Connect to GRPC

Jump to

Keyboard shortcuts

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