db

package
v0.0.0-...-56b9295 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mongo

type Mongo struct {
	URI        string
	DB         string
	Collection string
}

Mongo for save scan result

func NewMongo

func NewMongo(uri, db, collection string) *Mongo

NewMongo create a mongo db

func (*Mongo) Output

func (m *Mongo) Output(result map[string]interface{})

Output save scan result in mongo db

Jump to

Keyboard shortcuts

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