Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

profile state

Back to all declarations

DisplayName

untyped string

Standard fields

Value

"DisplayName"

Homepage

untyped string

Standard fields

Value

"Homepage"

Bio

untyped string

Standard fields

Value

"Bio"

Age

untyped string

Standard fields

Value

"Age"

Location

untyped string

Standard fields

Value

"Location"

Avatar

untyped string

Standard fields

Value

"Avatar"

GravatarEmail

untyped string

Standard fields

Value

"GravatarEmail"

AvailableForHiring

untyped string

Standard fields

Value

"AvailableForHiring"

InvalidField

untyped string

Standard fields

Value

"InvalidField"

ProfileFieldCreated

untyped string

Events

Value

"ProfileFieldCreated"

ProfileFieldUpdated

untyped string

Events

Value

"ProfileFieldUpdated"

FieldType

untyped string

Field types used when emitting event

Value

"FieldType"

BoolField

untyped string

Value

"BoolField"

StringField

untyped string

Value

"StringField"

IntField

untyped string

Value

"IntField"

stringFields

map[string]bool

List of supported string fields

Open
OID
01a06e…c5d4:13
stringFields details

Inspect map

intFields

map[string]bool

List of support int fields

Open
OID
01a06e…c5d4:15
intFields details

Inspect map

boolFields

map[string]bool

List of support bool fields

Open
OID
01a06e…c5d4:17
boolFields details

Inspect map

SetStringField

func(field string, value string) bool
Open
OID
01a06e…c5d4:18
SetStringField details

Inspect func

SetIntField

func(field string, value int) bool
Open
OID
01a06e…c5d4:19
SetIntField details

Inspect func

SetBoolField

func(field string, value bool) bool
Open
OID
01a06e…c5d4:20
SetBoolField details

Inspect func

GetStringField

func(addr .uverse.address, field string, def string) string
Open
OID
01a06e…c5d4:21
GetStringField details

Inspect func

GetBoolField

func(addr .uverse.address, field string, def bool) bool
Open
OID
01a06e…c5d4:22
GetBoolField details

Inspect func

GetIntField

func(addr .uverse.address, field string, def int) int
Open
OID
01a06e…c5d4:23
GetIntField details

Inspect func

BaseURL

untyped string

Value

"/r/demo/profile"

SetStringFieldURL

untyped string

Value

"/r/demo/profile$help&func=SetStringField&field=%s"

SetIntFieldURL

untyped string

Value

"/r/demo/profile$help&func=SetIntField&field=%s"

SetBoolFieldURL

untyped string

Value

"/r/demo/profile$help&func=SetBoolField&field=%s"

ViewAllFieldsURL

untyped string

Value

"/r/demo/profile:u/%s"

ViewFieldURL

untyped string

Value

"/r/demo/profile:f/%s/%s"

homeHandler

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
01a06e…c5d4:24
homeHandler details

Inspect func

profileHandler

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
01a06e…c5d4:26
profileHandler details

Inspect func

fieldHandler

func(res *v0.ResponseWriter, req *v0.Request)
Open
OID
01a06e…c5d4:27
fieldHandler details

Inspect func
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"
homeHandler : func(res *v0.ResponseWriter, req *v0.Request) Inspect
profileHandler : func(res *v0.ResponseWriter, req *v0.Request) Inspect
fieldHandler : func(res *v0.ResponseWriter, req *v0.Request) Inspect
Render : func(path string) string Inspect