Interfaces

package
v0.0.0-...-bc0b533 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Written by Robins

Index

Constants

This section is empty.

Variables

View Source
var (
	UserInterface        *graphql.Interface
	ApplicationInterface *graphql.Interface
	InfoInterface        *graphql.Interface
	CreatedOnInterface   *graphql.Interface
	DbIndexInterface     *graphql.Interface
	TokenInterface       *graphql.Interface

	EmailType *graphql.Scalar

	StatusEnum       *graphql.Enum
	DatabaseTypeEnum *graphql.Enum
)

Functions

This section is empty.

Types

type Graph

type Graph interface {
	//Will merge the database if present already..
	Create() (err error)
	//Will return an error if the application already exists..
	CreateIfNotExist() (err error)
	Exist() (exist bool, err error)
	Delete() (err error)
	Update() (err error)
	Read() (err error)
	ReadAll([]*interface{}) (err error)
}

Interfaces define method which must be implememted by all graph databases..

Jump to

Keyboard shortcuts

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