Files
cgrates/apier/v2
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
..
2022-11-16 10:13:44 +01:00
2021-06-08 12:05:51 +02:00
2022-12-02 14:24:18 +02:00
2022-11-16 10:13:44 +01:00
2023-04-20 20:05:00 +02:00
2020-01-15 03:05:02 -05:00
2021-08-30 17:55:51 +03:00