patternfix
import "github.com/coralproject/shelf/internal/wire/pattern/patternfix"
Overview
Index
Package files
patternfix.go
func Add(context interface{}, db *db.DB, patterns []pattern.Pattern) error
Add inserts patterns for testing.
func Get() ([]pattern.Pattern, []map[string]interface{}, error)
Get loads pattern data based on patterns.json.
func Remove(context interface{}, db *db.DB, prefix string) error
Remove removes patterns in Mongo that match a given prefix.
Generated by godoc2md