token

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package token contains the object to define parts of a vertex.

Using a token to create a vertex can allow you to choose a custom Key, ID, Label, or Value before creating it.

A note about Token:

This object implements the Parameter interface used by graph traversals.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token string

Token allows for more concise Traversal definitions.

const (
	// ID represents Element.id()
	ID Token = "T.id"
	// Key represents Property.key()
	Key Token = "T.key"
	// Label represents Element.label()
	Label Token = "T.label"
	// Value represents Property.value()
	Value Token = "T.value"
)

func (Token) String

func (t Token) String() string

Jump to

Keyboard shortcuts

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