2 | Alert of {priority : [`low | `med | `hi]; subject : string; body : string}
3 | Data of {key : string list; value : string}
5 { mtime : Khatus_time.t
12 | Log of {location : string; level : [`info | `error]; msg : string}
13 | Status_bar of string
16 {node : string; modul : string; content : content}
18 type 'a data_handler =
19 (node:string -> modul:string -> key:string list -> value:string -> 'a)
21 val to_string : t -> string
23 val handle_data : t -> f:'a data_handler -> otherwise:'a -> 'a