maxDescLen
untyped bigintValue
(500 <untyped> bigint)
maxURILen
untyped bigintValue
(200 <untyped> bigint)
maxHandleLen
untyped bigintValue
(64 <untyped> bigint)
maxPadPathLen
untyped bigintValue
(200 <untyped> bigint)
maxLaunchId
untyped bigintValue
(32 <untyped> bigint)
TokenMeta
typeTokenMeta is presentation data for one launch (not trading state).
Value
meta.TokenMeta
byKey
v0.Tree- OID
- 09e752…8488:21
byKey details
inited
boolValue
true
Init
func()- OID
- 09e752…8488:6
Init details
ensure
func()- OID
- 09e752…8488:8
ensure details
makeKey
func(padPkg string, launchID string) string- OID
- 09e752…8488:9
makeKey details
sanitizeText
func(s string, max int) string- OID
- 09e752…8488:10
sanitizeText details
validateURI
func(uri string)- OID
- 09e752…8488:11
validateURI details
validatePadPkg
func(padPkg string)- OID
- 09e752…8488:12
validatePadPkg details
SetMeta
func(padPkg string, launchID string, description string, imageURI string, website string, twitter string, telegram string)SetMeta upserts metadata for a launch. First writer owns the entry.
- OID
- 09e752…8488:13
SetMeta details
GetMeta
func(padPkg string, launchID string) stringGetMeta returns: owner|description|imageURI|website|twitter|telegram|updated Empty string if none.
- OID
- 09e752…8488:14
GetMeta details
HasMeta
func(padPkg string, launchID string) boolHasMeta reports whether metadata exists.
- OID
- 09e752…8488:15
HasMeta details
MetaCount
func() intMetaCount returns number of entries.
- OID
- 09e752…8488:16
MetaCount details
ClearMeta
func(padPkg string, launchID string)ClearMeta removes caller's owned entry.
- OID
- 09e752…8488:17
ClearMeta details
sanitizeMD
func(s string) string- OID
- 09e752…8488:18
sanitizeMD details
Render
func(path string) string- OID
- 09e752…8488:19
Render details
resetForTest
func()- OID
- 09e752…8488:20
resetForTest details
maxDescLen
:
untyped bigint
=(500 <untyped> bigint)
maxURILen
:
untyped bigint
=(200 <untyped> bigint)
maxHandleLen
:
untyped bigint
=(64 <untyped> bigint)
maxPadPathLen
:
untyped bigint
=(200 <untyped> bigint)
maxLaunchId
:
untyped bigint
=(32 <untyped> bigint)
TokenMeta
:
type
=meta.TokenMeta
byKey : v0.Tree Inspect
inited
:
bool
=true