Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AnnouncePeer

import type { AnnouncePeer } from "https://raw.githubusercontent.com/rclarey/bt/master/mod.ts";
interface AnnouncePeer {
id?: Uint8Array;
ip: string;
port: number;
}

§Properties

§
id?: Uint8Array
[src]

Peer's self-selected ID

§
ip: string
[src]

IP address of the peer

§
port: number
[src]

TCP port of the peer