Module Reader.PeerInfo

type struct_t = [
| `PeerInfo_ae7b97cc383b684e
]
val libp2p_port_get : t -> int
val has_host : t -> bool
val host_get : t -> string
val has_peer_id : t -> bool
val peer_id_get : t -> PeerId.t
val of_message : 'cap message_t -> t
val of_builder : struct_t builder_t -> t