constants

package
v1.0.0-...-26db8b9 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2015 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package constants provides useful global constants for use in ogonori

Index

Constants

View Source
const (
	MaxUint32 = ^uint32(0)
	MinUint32 = 0
	MaxInt32  = int32(MaxUint32 >> 1)
	MinInt32  = -MaxInt32 - 1

	MaxUint64 = ^uint64(0)
	MinUint64 = 0
	MaxInt64  = int64(MaxUint64 >> 1)
	MinInt64  = -MaxInt64 - 1
)
View Source
const (
	DocumentDB DatabaseType = "document" // use in obinary.OpenDatabase() call
	GraphDB    DatabaseType = "graph"    // use in obinary.OpenDatabase() call

	Persistent StorageType = "plocal" // use in obinary.DatabaseExists() call
	Volatile   StorageType = "memory" // use in obinary.DatabaseExists() call
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseType

type DatabaseType string

type StorageType

type StorageType string

Jump to

Keyboard shortcuts

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