PeerInfo

@Serializable
data class PeerInfo(val name: String? = null, val IP: String? = null)

PeerInfo represents one peer of an overlay network.

Parameters

name

ID of the peer-node in the Swarm cluster.

IP

IP-address of the peer-node in the Swarm cluster.

Constructors

Link copied to clipboard
constructor(name: String? = null, IP: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "IP")
val IP: String?
Link copied to clipboard
@SerialName(value = "Name")
val name: String?