package awa-lwt

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Awa_lwtSource

Sourcetype nexus_msg =
  1. | Rekey
  2. | Net_eof
  3. | Net_io of Cstruct.t
  4. | Sshout of int32 * Cstruct.t
  5. | Ssherr of int32 * Cstruct.t
Sourcetype sshin_msg = [
  1. | `Data of Cstruct.t
  2. | `Eof
]
Sourcetype channel = {
  1. cmd : string;
  2. id : int32;
  3. sshin_mbox : sshin_msg Lwt_mvar.t;
  4. exec_thread : unit Lwt.t;
}
Sourcetype exec_callback = string -> (unit -> sshin_msg Lwt.t) -> (Cstruct.t -> unit Lwt.t) -> (Cstruct.t -> unit Lwt.t) -> unit Lwt.t
Sourcetype t = {
  1. exec_callback : exec_callback;
  2. channels : channel list;
  3. nexus_mbox : nexus_msg Lwt_mvar.t;
}
Sourceval wrapr : ('a, string) result -> 'a Lwt.t
Sourceval sshin_eof : channel -> unit Lwt.t
Sourceval sshin_data : channel -> Cstruct.t -> unit Lwt.t
Sourceval lookup_channel : t -> int32 -> channel option
OCaml

Innovation. Community. Security.