oracles

package
v0.0.0-...-dbb9966 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2015 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalOracle

func NewLocalOracle() oracle.Oracle

NewLocalOracle creates an Oracle that use local time as data source.

func NewRemoteOracle

func NewRemoteOracle(zks, path string) oracle.Oracle

NewRemoteOracle creates an oracle that use a remote data source. Refer https://github.com/ngaut/tso for more details.

Types

This section is empty.

Jump to

Keyboard shortcuts

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