Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Allocation ¶
func (*Allocation) MarshalZAP ¶ added in v1.36.178
func (x *Allocation) MarshalZAP() ([]byte, error)
MarshalZAP writes Allocation from constant offsets.
func (*Allocation) UnmarshalZAP ¶ added in v1.36.178
func (x *Allocation) UnmarshalZAP(data []byte) error
UnmarshalZAP reads Allocation out of the buffer that arrived.
type Genesis ¶
type Genesis struct {
Timestamp int64 `json:"timestamp"`
Allocations []Allocation `json:"allocations"`
}
func (*Genesis) MarshalZAP ¶ added in v1.36.178
MarshalZAP writes Genesis from constant offsets.
func (*Genesis) UnmarshalZAP ¶ added in v1.36.178
UnmarshalZAP reads Genesis out of the buffer that arrived.
Click to show internal directories.
Click to hide internal directories.