Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateOrder ¶
func GenerateOrder(pba *pb.OrderLimit, storageNodeID storj.NodeID, upID *identity.FullIdentity, total int64) (*pb.Order, error)
GenerateOrder creates a signed Order from a OrderLimit
func GenerateOrderLimit ¶
func GenerateOrderLimit(action pb.BandwidthAction, satID *identity.FullIdentity, upID *identity.FullIdentity, expiration time.Duration) (*pb.OrderLimit, error)
GenerateOrderLimit creates a signed OrderLimit from a BandwidthAction
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.