maxBioLen
untyped bigintValue
(140 <untyped> bigint)
record
typerecord is the persisted state for one claimed handle.
Value
v0.record
byHandle
v0.Tree// handle (string) -> \*record
- OID
- 023e8d…ca23:4
byHandle details
byOwner
v0.Tree// owner address.String() -> \*record
- OID
- 023e8d…ca23: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
- 023e8d…ca23: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
- 023e8d…ca23:9
Register details
SetBio
func(bio string)SetBio updates the bio of the handle owned by the caller.
- OID
- 023e8d…ca23:10
SetBio details
Release
func()Release frees the handle owned by the caller, making it claimable again.
- OID
- 023e8d…ca23:11
Release details
Transfer
func(to .uverse.address)Transfer moves the caller's handle to another address that does not already own one.
- OID
- 023e8d…ca23:12
Transfer details
ownRecord
func() *v0.recordownRecord resolves the record for the current caller, panicking if the caller does not own a handle.
- OID
- 023e8d…ca23:13
ownRecord details
OwnerOf
func(handle string) (.uverse.address, bool)- OID
- 023e8d…ca23:14
OwnerOf details
HandleOf
func(addr .uverse.address) (string, bool)HandleOf returns the handle owned by addr, if any.
- OID
- 023e8d…ca23:15
HandleOf details
Count
func() intCount returns the number of currently registered handles.
- OID
- 023e8d…ca23:16
Count details
Render
func(path string) stringRender renders Markdown. "/" lists every handle; "/\<handle>" shows a single record's detail.
- OID
- 023e8d…ca23:17
Render details
renderIndex
func() string- OID
- 023e8d…ca23:18
renderIndex details
renderHandle
func(handle string) string- OID
- 023e8d…ca23:19
renderHandle details
short
func(s string) stringshort truncates a long address for the index table.
- OID
- 023e8d…ca23:20