mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 00:28:44 +05:00
Updated analyzers
This commit is contained in:
committed by
Dan Christian Bogos
parent
0810803475
commit
08d4f1fc21
@@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
package v1
|
||||
|
||||
import (
|
||||
"github.com/blevesearch/bleve/document"
|
||||
"github.com/cgrates/cgrates/analyzers"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
)
|
||||
@@ -44,3 +45,7 @@ func (aSv1 *AnalyzerSv1) Ping(ign *utils.CGREvent, reply *string) error {
|
||||
*reply = utils.Pong
|
||||
return nil
|
||||
}
|
||||
|
||||
func (aSv1 *AnalyzerSv1) Search(search string, reply *[]*document.Document) error {
|
||||
return aSv1.aS.V1Search(search, reply)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user