package git-net

  1. Overview
  2. Docs
A Mirage_kv implementation using git

Install

Dune Dependency

Authors

Maintainers

Sources

git-kv-0.2.0.tbz
sha256=40de3010d82dd8e9229e7df09c0a649e81efd47e991ef6eb31ee0c713dfe400d
sha512=fe70e3d1ad0f2a07dfd594ea87b4a4fcc1fe5633ced537206e61d566a2f97061dd0b348b1e93b8de1196af5878f307b7a3f595b1b51b25da89ee918328b977d9

doc/git-net.unix/Git_net_unix/TCP/index.html

Module Git_net_unix.TCPSource

Sourcetype flow = Lwt_unix.file_descr
Sourcetype error = [
  1. | `Refused
  2. | `Timeout
  3. | `Error of Unix.error * string * string
]
Sourcetype write_error = [
  1. | `Refused
  2. | `Timeout
  3. | `Closed
  4. | `Error of Unix.error * string * string
]
Sourceval pp_error : Format.formatter -> [< `Error of Unix.error * string * string | `Refused | `Timeout ] -> unit
Sourceval pp_write_error : Format.formatter -> [< `Closed | `Error of Unix.error * string * string | `Refused | `Timeout ] -> unit
Sourceval read : Lwt_unix.file_descr -> ([> `Data of Cstruct.t | `Eof ], [> `Error of Unix.error * string * string ]) result Lwt.t
Sourceval write : Lwt_unix.file_descr -> Cstruct.t -> (unit, [> `Error of Unix.error * string * string ]) result Lwt.t
Sourceval writev : Lwt_unix.file_descr -> Cstruct.t list -> (unit, [> `Error of Unix.error * string * string ]) Lwt_result.t
Sourceval close : Lwt_unix.file_descr -> unit Lwt.t
Sourceval shutdown : Lwt_unix.file_descr -> [< `read | `read_write | `write ] -> unit Lwt.t
Sourcetype endpoint = Lwt_unix.sockaddr
Sourceval connect : Lwt_unix.sockaddr -> (Lwt_unix.file_descr, [> `Error of Unix.error * string * string ]) result Lwt.t
Sourcetype listener = {
  1. process : flow -> unit Lwt.t;
  2. keepalive : Tcpip.Tcp.Keepalive.t option;
}
Sourcetype t = |
Sourcetype ipaddr = Ipaddr.t
Sourceval disconnect : 'a -> 'b
Sourceval dst : 'a -> 'b
Sourceval src : 'a -> 'b
Sourceval write_nodelay : 'a -> 'b -> 'c
Sourceval writev_nodelay : 'a -> 'b -> 'c
Sourceval create_connection : ?keepalive:'a -> 'b -> 'c -> 'd
Sourceval input : 'a -> src:'b -> dst:'c -> 'd -> 'e
Sourceval listen : 'a -> 'b
Sourceval unlisten : 'a -> 'b
OCaml

Innovation. Community. Security.