Documentation ¶
Index ¶
- Variables
- func NewImmutables(propertyList lists.PropertyList) qualified.Immutables
- func NewMutables(propertyList lists.PropertyList) qualified.Mutables
- func RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)
- type Immutables
- func (*Immutables) Descriptor() ([]byte, []int)
- func (immutables *Immutables) GenerateHashID() ids.ID
- func (immutables *Immutables) GetImmutablePropertyList() lists.PropertyList
- func (immutables *Immutables) GetProperty(id ids.PropertyID) properties.AnyProperty
- func (m *Immutables) Marshal() (dAtA []byte, err error)
- func (m *Immutables) MarshalTo(dAtA []byte) (int, error)
- func (m *Immutables) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Immutables) ProtoMessage()
- func (m *Immutables) Reset()
- func (m *Immutables) Size() (n int)
- func (m *Immutables) String() string
- func (m *Immutables) Unmarshal(dAtA []byte) error
- func (immutables *Immutables) ValidateBasic() error
- func (m *Immutables) XXX_DiscardUnknown()
- func (m *Immutables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Immutables) XXX_Merge(src proto.Message)
- func (m *Immutables) XXX_Size() int
- func (m *Immutables) XXX_Unmarshal(b []byte) error
- type Mutables
- func (*Mutables) Descriptor() ([]byte, []int)
- func (mutables *Mutables) GetMutablePropertyList() lists.PropertyList
- func (mutables *Mutables) GetProperty(id ids.PropertyID) properties.AnyProperty
- func (m *Mutables) Marshal() (dAtA []byte, err error)
- func (m *Mutables) MarshalTo(dAtA []byte) (int, error)
- func (m *Mutables) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (mutables *Mutables) Mutate(propertyList ...properties.Property) qualified.Mutables
- func (*Mutables) ProtoMessage()
- func (m *Mutables) Reset()
- func (m *Mutables) Size() (n int)
- func (m *Mutables) String() string
- func (m *Mutables) Unmarshal(dAtA []byte) error
- func (mutables *Mutables) ValidateBasic() error
- func (m *Mutables) XXX_DiscardUnknown()
- func (m *Mutables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Mutables) XXX_Merge(src proto.Message)
- func (m *Mutables) XXX_Size() int
- func (m *Mutables) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewImmutables ¶
func NewImmutables(propertyList lists.PropertyList) qualified.Immutables
func NewMutables ¶
func NewMutables(propertyList lists.PropertyList) qualified.Mutables
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)
Types ¶
type Immutables ¶
type Immutables struct {
PropertyList *base.PropertyList `protobuf:"bytes,1,opt,name=property_list,json=propertyList,proto3" json:"property_list,omitempty"`
}
func (*Immutables) Descriptor ¶
func (*Immutables) Descriptor() ([]byte, []int)
func (*Immutables) GenerateHashID ¶
func (immutables *Immutables) GenerateHashID() ids.ID
func (*Immutables) GetImmutablePropertyList ¶
func (immutables *Immutables) GetImmutablePropertyList() lists.PropertyList
TODO write test case
func (*Immutables) GetProperty ¶
func (immutables *Immutables) GetProperty(id ids.PropertyID) properties.AnyProperty
func (*Immutables) Marshal ¶
func (m *Immutables) Marshal() (dAtA []byte, err error)
func (*Immutables) MarshalToSizedBuffer ¶
func (m *Immutables) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Immutables) ProtoMessage ¶
func (*Immutables) ProtoMessage()
func (*Immutables) Reset ¶
func (m *Immutables) Reset()
func (*Immutables) Size ¶
func (m *Immutables) Size() (n int)
func (*Immutables) String ¶
func (m *Immutables) String() string
func (*Immutables) Unmarshal ¶
func (m *Immutables) Unmarshal(dAtA []byte) error
func (*Immutables) ValidateBasic ¶
func (immutables *Immutables) ValidateBasic() error
func (*Immutables) XXX_DiscardUnknown ¶
func (m *Immutables) XXX_DiscardUnknown()
func (*Immutables) XXX_Marshal ¶
func (m *Immutables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Immutables) XXX_Merge ¶
func (m *Immutables) XXX_Merge(src proto.Message)
func (*Immutables) XXX_Size ¶
func (m *Immutables) XXX_Size() int
func (*Immutables) XXX_Unmarshal ¶
func (m *Immutables) XXX_Unmarshal(b []byte) error
type Mutables ¶
type Mutables struct {
PropertyList *base.PropertyList `protobuf:"bytes,1,opt,name=property_list,json=propertyList,proto3" json:"property_list,omitempty"`
}
func (*Mutables) Descriptor ¶
func (*Mutables) GetMutablePropertyList ¶
func (mutables *Mutables) GetMutablePropertyList() lists.PropertyList
func (*Mutables) GetProperty ¶
func (mutables *Mutables) GetProperty(id ids.PropertyID) properties.AnyProperty
func (*Mutables) MarshalToSizedBuffer ¶
func (*Mutables) Mutate ¶
func (mutables *Mutables) Mutate(propertyList ...properties.Property) qualified.Mutables
func (*Mutables) ProtoMessage ¶
func (*Mutables) ProtoMessage()
func (*Mutables) ValidateBasic ¶
func (*Mutables) XXX_DiscardUnknown ¶
func (m *Mutables) XXX_DiscardUnknown()
func (*Mutables) XXX_Marshal ¶
func (*Mutables) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.