Documentation
¶
Overview ¶
Package namesys_pb is a generated protocol buffer package.
It is generated from these files:
namesys.proto
It has these top-level messages:
IpnsEntry
Index ¶
- Variables
- type IpnsEntry
- func (m *IpnsEntry) GetSequence() uint64
- func (m *IpnsEntry) GetSignature() []byte
- func (m *IpnsEntry) GetTtl() uint64
- func (m *IpnsEntry) GetValidity() []byte
- func (m *IpnsEntry) GetValidityType() IpnsEntry_ValidityType
- func (m *IpnsEntry) GetValue() []byte
- func (*IpnsEntry) ProtoMessage()
- func (m *IpnsEntry) Reset()
- func (m *IpnsEntry) String() string
- type IpnsEntry_ValidityType
Constants ¶
This section is empty.
Variables ¶
View Source
var IpnsEntry_ValidityType_name = map[int32]string{
0: "EOL",
}
View Source
var IpnsEntry_ValidityType_value = map[string]int32{
"EOL": 0,
}
Functions ¶
This section is empty.
Types ¶
type IpnsEntry ¶
type IpnsEntry struct {
Value []byte `protobuf:"bytes,1,req,name=value" json:"value,omitempty"`
Signature []byte `protobuf:"bytes,2,req,name=signature" json:"signature,omitempty"`
ValidityType *IpnsEntry_ValidityType `protobuf:"varint,3,opt,name=validityType,enum=namesys.pb.IpnsEntry_ValidityType" json:"validityType,omitempty"`
Validity []byte `protobuf:"bytes,4,opt,name=validity" json:"validity,omitempty"`
Sequence *uint64 `protobuf:"varint,5,opt,name=sequence" json:"sequence,omitempty"`
Ttl *uint64 `protobuf:"varint,6,opt,name=ttl" json:"ttl,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*IpnsEntry) GetSequence ¶ added in v0.3.8
func (m *IpnsEntry) GetSequence() uint64
func (*IpnsEntry) GetSignature ¶
func (m *IpnsEntry) GetSignature() []byte
func (*IpnsEntry) GetValidity ¶
func (m *IpnsEntry) GetValidity() []byte
func (*IpnsEntry) GetValidityType ¶
func (m *IpnsEntry) GetValidityType() IpnsEntry_ValidityType
func (*IpnsEntry) ProtoMessage ¶
func (*IpnsEntry) ProtoMessage()
type IpnsEntry_ValidityType ¶
type IpnsEntry_ValidityType int32
const (
// setting an EOL says "this record is valid until..."
IpnsEntry_EOL IpnsEntry_ValidityType = 0
)
func (*IpnsEntry_ValidityType) UnmarshalJSON ¶
func (x *IpnsEntry_ValidityType) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.