fields
*v0.Tree- OID
- 01a06e…c5d4:4
fields details
router
*v0.Router- OID
- 01a06e…c5d4:7
router details
DisplayName
untyped stringStandard fields
Value
"DisplayName"
Homepage
untyped stringStandard fields
Value
"Homepage"
Bio
untyped stringStandard fields
Value
"Bio"
Age
untyped stringStandard fields
Value
"Age"
Location
untyped stringStandard fields
Value
"Location"
Avatar
untyped stringStandard fields
Value
"Avatar"
GravatarEmail
untyped stringStandard fields
Value
"GravatarEmail"
AvailableForHiring
untyped stringStandard fields
Value
"AvailableForHiring"
InvalidField
untyped stringStandard fields
Value
"InvalidField"
ProfileFieldCreated
untyped stringEvents
Value
"ProfileFieldCreated"
ProfileFieldUpdated
untyped stringEvents
Value
"ProfileFieldUpdated"
FieldType
untyped stringField types used when emitting event
Value
"FieldType"
BoolField
untyped stringValue
"BoolField"
StringField
untyped stringValue
"StringField"
IntField
untyped stringValue
"IntField"
init.17
func()- OID
- 01a06e…c5d4:10
init.17 details
stringFields
map[string]boolList of supported string fields
- OID
- 01a06e…c5d4:13
stringFields details
intFields
map[string]boolList of support int fields
- OID
- 01a06e…c5d4:15
intFields details
boolFields
map[string]boolList of support bool fields
- OID
- 01a06e…c5d4:17
boolFields details
SetStringField
func(field string, value string) bool- OID
- 01a06e…c5d4:18
SetStringField details
SetIntField
func(field string, value int) bool- OID
- 01a06e…c5d4:19
SetIntField details
SetBoolField
func(field string, value bool) bool- OID
- 01a06e…c5d4:20
SetBoolField details
GetStringField
func(addr .uverse.address, field string, def string) string- OID
- 01a06e…c5d4:21
GetStringField details
GetBoolField
func(addr .uverse.address, field string, def bool) bool- OID
- 01a06e…c5d4:22
GetBoolField details
GetIntField
func(addr .uverse.address, field string, def int) int- OID
- 01a06e…c5d4:23
GetIntField details
BaseURL
untyped stringValue
"/r/demo/profile"
SetStringFieldURL
untyped stringValue
"/r/demo/profile$help&func=SetStringField&field=%s"
SetIntFieldURL
untyped stringValue
"/r/demo/profile$help&func=SetIntField&field=%s"
SetBoolFieldURL
untyped stringValue
"/r/demo/profile$help&func=SetBoolField&field=%s"
ViewAllFieldsURL
untyped stringValue
"/r/demo/profile:u/%s"
ViewFieldURL
untyped stringValue
"/r/demo/profile:f/%s/%s"
homeHandler
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 01a06e…c5d4:24
homeHandler details
profileHandler
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 01a06e…c5d4:26
profileHandler details
fieldHandler
func(res *v0.ResponseWriter, req *v0.Request)- OID
- 01a06e…c5d4:27
fieldHandler details
Render
func(path string) string- OID
- 01a06e…c5d4:28
Render details
fields : *v0.Tree Inspect
router : *v0.Router Inspect
DisplayName
:
untyped string
="DisplayName"
Homepage
:
untyped string
="Homepage"
Bio
:
untyped string
="Bio"
Age
:
untyped string
="Age"
Location
:
untyped string
="Location"
Avatar
:
untyped string
="Avatar"
GravatarEmail
:
untyped string
="GravatarEmail"
AvailableForHiring
:
untyped string
="AvailableForHiring"
InvalidField
:
untyped string
="InvalidField"
ProfileFieldCreated
:
untyped string
="ProfileFieldCreated"
ProfileFieldUpdated
:
untyped string
="ProfileFieldUpdated"
FieldType
:
untyped string
="FieldType"
BoolField
:
untyped string
="BoolField"
StringField
:
untyped string
="StringField"
IntField
:
untyped string
="IntField"
init.17 : func() Inspect
stringFields : map[string]bool Inspect
intFields : map[string]bool Inspect
boolFields : map[string]bool Inspect
SetStringField : func(field string, value string) bool Inspect
SetIntField : func(field string, value int) bool Inspect
SetBoolField : func(field string, value bool) bool Inspect
GetStringField : func(addr .uverse.address, field string, def string) string Inspect
GetBoolField : func(addr .uverse.address, field string, def bool) bool Inspect
GetIntField : func(addr .uverse.address, field string, def int) int Inspect
BaseURL
:
untyped string
="/r/demo/profile"
SetStringFieldURL
:
untyped string
="/r/demo/profile$help&func=SetStringField&field=%s"
SetIntFieldURL
:
untyped string
="/r/demo/profile$help&func=SetIntField&field=%s"
SetBoolFieldURL
:
untyped string
="/r/demo/profile$help&func=SetBoolField&field=%s"
ViewAllFieldsURL
:
untyped string
="/r/demo/profile:u/%s"
ViewFieldURL
:
untyped string
="/r/demo/profile:f/%s/%s"