dgraph

package
v0.0.0-...-36d8597 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	URL string
}

Config ...

type DGraphLink struct {
	Uid      string `json:"uid,omitempty"`
	*v1.Link `json:"link,omitempty"`
	DType    []string `json:"dgraph.type,omitempty"`
}

DGraphLink implementation of db interface

type DGraphLinkResponse

type DGraphLinkResponse struct {
	Link []struct {
		*v1.Link
		Uid string `json:"uid,omitempty"`
	}
}

DGraphLinkResponse ...

type Store

type Store struct {
	// contains filtered or unexported fields
}

Store ...

func New

func New(logger logger.Logger) *Store

func (*Store) Close

func (s *Store) Close() error

Close ...

func (*Store) GetConn

func (s *Store) GetConn() interface{}

GetConn ...

func (*Store) Init

func (s *Store) Init(ctx context.Context) error

Init ...

Jump to

Keyboard shortcuts

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