maxNameLen
untyped bigintValue
(48 <untyped> bigint)
maxBioLen
untyped bigintValue
(280 <untyped> bigint)
maxURILen
untyped bigintValue
(200 <untyped> bigint)
Profile
typeProfile is one user's public card (all fields exported for LaunchInfo-style reads).
Value
profile.Profile
byAddr
v0.Tree- OID
- 039eef…bd82:18
byAddr details
inited
boolValue
true
Init
func()Init is optional (no-op state). Kept for deploy symmetry with hub/pad.
- OID
- 039eef…bd82:6
Init details
ensure
func()- OID
- 039eef…bd82:8
ensure details
sanitizeText
func(s string, max int) string- OID
- 039eef…bd82:9
sanitizeText details
SetProfile
func(name string, bio string, uri string)SetProfile upserts the caller's profile.
- OID
- 039eef…bd82:10
SetProfile details
ClearProfile
func()ClearProfile removes the caller's profile.
- OID
- 039eef…bd82:11
ClearProfile details
GetProfile
func(addr string) stringGetProfile returns pipe-delimited: name|bio|uri|updatedHeight Empty string if none.
- OID
- 039eef…bd82:12
GetProfile details
HasProfile
func(addr string) boolHasProfile reports whether addr has a profile.
- OID
- 039eef…bd82:13
HasProfile details
ProfileCount
func() intProfileCount returns number of profiles.
- OID
- 039eef…bd82:14
ProfileCount details
sanitizeMD
func(s string) string- OID
- 039eef…bd82:15
sanitizeMD details
Render
func(path string) stringRender home or user/{addr}
- OID
- 039eef…bd82:16
Render details
resetForTest
func()- OID
- 039eef…bd82:17
resetForTest details
maxNameLen
:
untyped bigint
=(48 <untyped> bigint)
maxBioLen
:
untyped bigint
=(280 <untyped> bigint)
maxURILen
:
untyped bigint
=(200 <untyped> bigint)
Profile
:
type
=profile.Profile
byAddr : v0.Tree Inspect
inited
:
bool
=true