Skip to main content

NameRegistration

type NameRegistration​

An object to manage a second-level name (SLN).

type NameRegistration struct {
// contains filtered or unexported fields
}

func LiftFromExternalNameRegistration​

func LiftFromExternalNameRegistration(handle uint64) *NameRegistration

func NewNameRegistration​

func NewNameRegistration(id *ObjectId, name *Name, nameStr string, expirationTimestampMs uint64) *NameRegistration

func (*NameRegistration) DebugString​

func (_self *NameRegistration) DebugString() string

func (*NameRegistration) Destroy​

func (object *NameRegistration) Destroy()

func (*NameRegistration) Eq​

func (_self *NameRegistration) Eq(other *NameRegistration) bool

func (*NameRegistration) ExpirationTimestampMs​

func (_self *NameRegistration) ExpirationTimestampMs() uint64

func (*NameRegistration) Id​

func (_self *NameRegistration) Id() *ObjectId

func (*NameRegistration) Name​

func (_self *NameRegistration) Name() *Name

func (*NameRegistration) NameStr​

func (_self *NameRegistration) NameStr() string

func (*NameRegistration) Ne​

func (_self *NameRegistration) Ne(other *NameRegistration) bool

func (*NameRegistration) ToDisplayString​

func (_self *NameRegistration) ToDisplayString() string

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.