Commit Graph

10 Commits

Author SHA1 Message Date
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +02:00
ionutboangiu
cb7ea790de Update rpcclient library to latest version
Replace all instances of rpcclient.ClientConnector with birpc.ClientConnector.

Pass context, maxReconnectInterval, delayFunc and birpcClient to rpcclient
constructors.

Remove redundant time.Duration conversions (e.g. time.Duration(1*time.Second)
now becomes time.Second.

Add context where needed (context.Background() for tests, context.TODO()
for places where it should be passed from somewhere else).

Implement that functionality of the SessionSv1.Sleep call, in sessions/sessions
instead of apier/v1.

Make changes in utils/server.go (replacing the old rpc2 library with github.com/cgrates/birpc).

Change the way we register birpc methods for sessions in services, using a helper function
defined in engine/libengine.go.
2023-05-03 10:02:15 +02:00
TeoV
2ee574002a Add support for BiRPC in ConnManager 2019-12-12 08:54:42 +02:00
Trial97
b4fe82c6d7 Updated rpcclient library 2019-12-09 18:04:26 +02:00
TeoV
fc8f62ca03 Finish Updating all ibraries from glide 2018-09-20 15:05:12 +02:00
DanB
9bb19bea53 First CUT of SM-FreeSWITCH using SMG instead of own session management, including resources, suppliers and attributes 2018-01-12 19:09:38 +01:00
edwardro22
b651b06826 Removed copyright from go doc 2017-09-10 15:02:46 +00:00
DanB
800d339975 SMGeneric - Bidirectional communication though rpc2 library 2017-01-25 20:30:29 +01:00
DanB
d14976a2de SMGeneric with Call method, cgr-engine passing concrete SMGeneric object instead of interface as internalSMGChan 2016-09-23 13:13:02 +02:00
DanB
0f2a6ede59 BiRPCInternalClient, modifying SMGeneric to work as BiRPCServer interface 2016-09-22 21:21:29 +02:00