Documentation ¶
Overview ¶
Package channel contains the simulated channel backend.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct {
ID int64
}
Asset simulates a `channel.Asset` by only containing an `ID`.
func NewRandomAsset ¶
NewRandomAsset returns a new random sim Asset.
func (Asset) MarshalBinary ¶ added in v0.9.0
MarshalBinary marshals the address into its binary representation.
func (*Asset) UnmarshalBinary ¶ added in v0.9.0
UnmarshalBinary unmarshals the asset from its binary representation.
Click to show internal directories.
Click to hide internal directories.