mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +00:00
* refactor add waku not responding event to libwaku Co-authored-by: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com>
10 lines
296 B
Nim
10 lines
296 B
Nim
import system, std/json, ./json_base_event
|
|
|
|
type JsonWakuNotRespondingEvent* = ref object of JsonEvent
|
|
|
|
proc new*(T: type JsonWakuNotRespondingEvent): T =
|
|
return JsonWakuNotRespondingEvent(eventType: "waku_not_responding")
|
|
|
|
method `$`*(event: JsonWakuNotRespondingEvent): string =
|
|
$(%*event)
|