Discover Packages
github.com/cemayan/searchengine
internal
db
mongodb
package
Version:
v0.0.0-...-33bd477
Opens a new window with list of versions in this module.
Published: Aug 1, 2024
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
MongoDB represents of MongoDb/Redis Client
Get returns an array according to given parameters
In redis this method returns map[string]interface{}
func (r MongoDB ) GetAll() interface{}
GetAll returns whole collectionName
Set sets data to mongodb
collections => record : record, scraping results : recordmetadata
If mongodb save operation is successful this record will be saved to redis for caching
Source Files
¶
Click to show internal directories.
Click to hide internal directories.