package calculon

  1. Overview
  2. Docs

Core IRC state

module Format_ = Stdlib.Format
module Msg = Irc_message
val logs_src : Logs.src
module Log : Logs.LOG
type irc_msg = Irc_message.t
type privmsg = {
  1. nick : string;
  2. to_ : string;
  3. message : string;
}
val is_chan : Stdlib.String.t -> bool
val nick : privmsg -> string
val reply_to : privmsg -> string
val privmsg_of_msg : Msg.t -> privmsg option
val string_of_privmsg : privmsg -> string
module type S = sig ... end
type t = (module S)
module Make (I : Irc_client.CLIENT with type 'a Io.t = 'a Lwt.t) (Conn : sig ... end) : sig ... end
module Run (I : Irc_client.CLIENT with type 'a Io.t = 'a Lwt.t) (F : sig ... end) : sig ... end
val loop_ssl : ?conn_info:string -> connect:(unit -> Irc_client_lwt_ssl.connection_t option Lwt.t) -> init:(t -> unit Lwt.t) -> unit -> unit Lwt.t
val loop_unsafe : ?conn_info:string -> connect:(unit -> Irc_client_lwt.connection_t option Lwt.t) -> init:(t -> unit Lwt.t) -> unit -> unit Lwt.t
val run : Calculon__Config.t -> init:(t -> unit Lwt.t) -> unit -> unit Lwt.t
OCaml

Innovation. Community. Security.