Discord RPC library and a system info program.
Go to file
Ophestra Umiker 8a975f9a31
rpc: handle response with Identify opcode as retryable
Sometimes arRPC would just send a response with the Identify opcode and `{"cmd":""}`. It is unclear what causes this and the easiest way to recover that I'm aware of is to close the connection and start a fresh one.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
2024-06-21 21:55:04 +09:00
fetch rpcfetch: config: add config mutex 2024-06-21 12:33:18 +09:00
.gitignore go: initialise go module 2024-06-19 23:07:05 +09:00
activity.go library: rpc: return nonce in SetActivity function 2024-06-20 20:24:13 +09:00
go.mod library: rpc: activity data types and set method 2024-06-19 23:21:52 +09:00
go.sum go: initialise go module 2024-06-19 23:07:05 +09:00
io.go library: io: handle retryable errors 2024-06-20 01:14:04 +09:00
io_unix.go library: io: handle retryable errors 2024-06-20 01:14:04 +09:00
rpc.go rpc: handle response with Identify opcode as retryable 2024-06-21 21:55:04 +09:00