storj/storagenode/trust/common_test.go
Egon Elbre 6615ecc9b6 common: separate repository
Change-Id: Ibb89c42060450e3839481a7e495bbe3ad940610a
2019-12-27 14:11:15 +02:00

18 lines
320 B
Go

// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
package trust_test
import (
"storj.io/common/testrand"
"storj.io/storj/storagenode/trust"
)
func makeSatelliteURL(host string) trust.SatelliteURL {
return trust.SatelliteURL{
ID: testrand.NodeID(),
Host: host,
Port: 7777,
}
}