handlers

package
v0.0.0-...-0a741b5 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandContentNode

func ExpandContentNode(db *dgo.Dgraph) http.Handler

ExpandContentNode will add a new ContentNode to the databse.

func NewContentNode

func NewContentNode(db *dgo.Dgraph) http.Handler

NewContentNode will add a new ContentNode to the databse.

Types

type ResponseMsg

type ResponseMsg struct {
	Message string `json:"message"`
	Result  interface{}
	Status  int
}

ResponseMsg is a struct used to wrap responses indicating success

Jump to

Keyboard shortcuts

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