watcher configuration; super node versioning

This commit is contained in:
Ian Norden
2020-02-25 16:38:46 -06:00
parent 25aa4634e9
commit 330a083749
13 changed files with 381 additions and 77 deletions
+2 -2
View File
@@ -32,12 +32,12 @@ var (
// Repository is the underlying struct for satisfying the shared.Repository interface for eth
type Repository struct {
db *postgres.DB
triggerFunctions [][2]string
triggerFunctions []string
deleteCalls int64
}
// NewRepository returns a new eth.Repository that satisfies the shared.Repository interface
func NewRepository(db *postgres.DB, triggerFunctions [][2]string) shared.Repository {
func NewRepository(db *postgres.DB, triggerFunctions []string) shared.Repository {
return &Repository{
db: db,
triggerFunctions: triggerFunctions,