mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 22:29:55 +05:00
Added Responder service implementation
This commit is contained in:
committed by
Dan Christian Bogos
parent
60fef23caa
commit
9dcbaaf06a
@@ -478,6 +478,10 @@ type ServiceProvider interface {
|
||||
GetExitChan() chan bool
|
||||
// GetConnection creates a rpcClient to the specified subsystem
|
||||
GetConnection(subsystem string, cfg []*config.RemoteHost) (rpcclient.RpcClientConnection, error)
|
||||
// GetService returns the named service
|
||||
GetService(subsystem string) (Service, error)
|
||||
// AddService adds the given serices
|
||||
AddService(services ...Service)
|
||||
}
|
||||
|
||||
// Service interface that describes what functions should a service implement
|
||||
|
||||
Reference in New Issue
Block a user