go-graph

module
v0.0.0-...-90603f3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: MIT

README

go-graph

Description

go-graph contains framework code for building graph databases and APIs in Go.

Building

go get github.com/spatialcurrent/go-graph

Usage

Server

backend, err := LoadBackendFromPlugin("/path/to/custom/graph/plugin.so", "NewGraphBackend")

Plugin

package main

import (
  "net/http"
)

import (
  "github.com/spatialcurrent/go-graph/backend"
)

func NewGraphBackend() backend.Backend {
  return &MyCustomGraphBackend{}
}

func (a *GraphBackend) Type() string {
  return "My Custom Graph Backend"
}

Contributing

Spatial Current, Inc. is currently accepting pull requests for this repository. We'd love to have your contributions! Please see Contributing.md for how to get started.

License

This work is distributed under the MIT License. See LICENSE file.

Directories

Path Synopsis
backup
cmd
exp

Jump to

Keyboard shortcuts

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