repo

package
v0.0.0-...-6c969dd Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoInterface

type RepoInterface interface {
	GetTargets() ([]*pb.Target, error)
}

type Repository

type Repository struct {
	Collection *mongo.Collection
}

func (*Repository) GetTargets

func (r *Repository) GetTargets() ([]*pb.Target, error)

GetTargets - returns a list of all the targets saved in the db

Jump to

Keyboard shortcuts

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