Documentation

Index

Constants

This section is empty.

Variables

var (
	GraphSON3Mime = NewMime("application/vnd.gremlin-v3.0+json")
)

Graphson mime headers.


Functions

This section is empty.

Types

type Mime

type Mime []byte

Mime defines a gremlin mime type.

func NewMime

func NewMime(s string) Mime

NewMime creates a wire format mime header.

func (Mime) String

func (m Mime) String() string

String implements fmt.Stringer interface.

Source Files

Directories

Path Synopsis
graphson