storj/storagenode/trust/common_test.go
Andrew Harding eb52ac623b storagenode/trust: source implementations
Change-Id: Ie36e79cc15257db88051f63e5b9463fd9d7b4736
2019-12-09 20:00:02 +00:00

18 lines
327 B
Go

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