package tezos-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type addr_port_id = {
  1. addr : string;
  2. port : int option;
  3. peer_id : P2p_peer_id.t option;
}
type parsing_error =
  1. | Port_not_in_range of int
  2. | Bad_id_format of string
  3. | Bad_format
val string_of_parsing_error : parsing_error -> string
val parse_port : string option -> (int option -> ('a, parsing_error) Stdlib.result) -> ('a, parsing_error) Stdlib.result
val parse_peer_id : string option -> (P2p_peer_id.t option -> ('a, parsing_error) Stdlib.result) -> ('a, parsing_error) Stdlib.result
val parse_addr : string -> (string -> 'a) -> 'a
val make_full_addr : string -> string option -> string option -> (addr_port_id, parsing_error) Stdlib.result
val __ocaml_lex_tables : Stdlib.Lexing.lex_tables
val parse_full_addr : Stdlib.Lexing.lexbuf -> (addr_port_id, parsing_error) Stdlib.result
val __ocaml_lex_parse_full_addr_rec : Stdlib.Lexing.lexbuf -> int -> (addr_port_id, parsing_error) Stdlib.result
OCaml

Innovation. Community. Security.