rethinkdb

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RethinkAddr string

RethinkAddr RethinkDB address to user for connections

Functions

func InitRethinkDB

func InitRethinkDB() error

InitRethinkDB initalizes rethinkDB for use with malice

func StartRethinkDB

func StartRethinkDB(docker *client.Docker, logs bool) (types.ContainerJSONBase, error)

StartRethinkDB creates an RethinkDB container from the image rethinkdb

func TestConnection

func TestConnection(addr string) error

TestConnection tests the rethinkDB connection

func WriteFileToDatabase

func WriteFileToDatabase(sample persist.File) r.WriteResponse

WriteFileToDatabase inserts sample into Database

func WriteHashToDatabase

func WriteHashToDatabase(hash string) r.WriteResponse

WriteHashToDatabase inserts hash into Database

Types

This section is empty.

Jump to

Keyboard shortcuts

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