maxBioLen
untyped bigintValue
(140 <untyped> bigint)
record
typerecord is the persisted state for one claimed handle.
Value
v1.record
byHandle
v0.Tree// handle (string) -> \*record
- OID
- 0b9f3e…8ca6:4
byHandle details
byOwner
v0.Tree// owner address.String() -> \*record
- OID
- 0b9f3e…8ca6:6
byOwner details
validHandle
func(h string) boolvalidHandle reports whether h is 3-20 chars, starts with a lowercase letter, and contains only lowercase letters and digits thereafter.
- OID
- 0b9f3e…8ca6:7
validHandle details
Register
func(handle string)Register claims handle for the caller. Aborts if the handle is invalid, already taken, or the caller already owns a handle (release it first).
- OID
- 0b9f3e…8ca6:9
Register details
SetBio
func(bio string)SetBio updates the bio of the handle owned by the caller.
- OID
- 0b9f3e…8ca6:10
SetBio details
Release
func()Release frees the handle owned by the caller, making it claimable again.
- OID
- 0b9f3e…8ca6:11
Release details
Transfer
func(to .uverse.address)Transfer moves the caller's handle to another address that does not already own one.
- OID
- 0b9f3e…8ca6:12
Transfer details
ownRecord
func() *v1.recordownRecord resolves the record for the current caller, panicking if the caller does not own a handle.
- OID
- 0b9f3e…8ca6:13
ownRecord details
OwnerOf
func(handle string) (.uverse.address, bool)- OID
- 0b9f3e…8ca6:14
OwnerOf details
HandleOf
func(addr .uverse.address) (string, bool)HandleOf returns the handle owned by addr, if any.
- OID
- 0b9f3e…8ca6:15
HandleOf details
Count
func() intCount returns the number of currently registered handles.
- OID
- 0b9f3e…8ca6:16
Count details
Render
func(path string) stringRender renders Markdown. "/" lists every handle; "/\<handle>" shows a single record's detail.
- OID
- 0b9f3e…8ca6:17
Render details
renderIndex
func() string- OID
- 0b9f3e…8ca6:18
renderIndex details
renderHandle
func(handle string) string- OID
- 0b9f3e…8ca6:19