Files
indra/pkg/cfg/seed_address.go
2023-02-26 01:30:41 +00:00

19 lines
274 B
Go

package cfg
type SeedAddress struct {
// ID is the p2p identifier
ID string
// DNSAddress is the hostname of the seed node
DNSAddress string
}
func NewSeedAddress(dns string, id string) *SeedAddress {
return &SeedAddress{
ID: id,
DNSAddress: dns,
}
}