Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YuriyNasretdinov/social-net
/ functions
Functions
146 in github.com/YuriyNasretdinov/social-net
⨍
Functions
146
◇
Types & classes
45
↓ 22 callers
Function
prepareStmt
(db *sql.DB, stmt string)
db/db.go:67
↓ 16 callers
Function
sendReq
(reqType, reqData, onrcv)
static/js/main.js:163
↓ 15 callers
Method
Query
(query string, args ...interface{})
db/db.go:20
↓ 14 callers
Function
addEv
(id, evName, func)
static/js/main.js:215
↓ 9 callers
Function
changeLocation
(title, url)
static/js/main.js:263
↓ 9 callers
Function
readVarInt
(v []byte)
restore-test/main.go:96
↓ 8 callers
Function
escape
(q string)
restore-test/main.go:26
↓ 8 callers
Function
inp
(name, title, value)
static/js/profile.js:43
↓ 4 callers
Function
fmtDate
(value)
static/js/profile.js:48
↓ 4 callers
Function
profileLink
(id, name)
static/js/friends.js:50
↓ 4 callers
Function
readVarIntFirst
(v []byte)
restore-test/main.go:88
↓ 4 callers
Function
redrawFriendsRequestCount
()
static/js/friends.js:26
↓ 4 callers
Function
sel
(name, value, options)
static/js/profile.js:119
↓ 4 callers
Function
serveStatic
(filename string, w http.ResponseWriter)
main.go:35
↓ 3 callers
Function
checkFlag
(fl chan bool, name string)
functest.go:169
↓ 3 callers
Function
createTimelineEl
(msg)
static/js/timeline.js:40
↓ 3 callers
Function
htmlspecialchars
(string, quoteStyle, charset, doubleEncode)
static/js/main.js:16
↓ 3 callers
Function
readString
(v []byte)
restore-test/main.go:81
↓ 3 callers
Function
sendError
(seqId int, recvChan chan interface{}, message string)
main.go:203
↓ 3 callers
Function
setFlag
(fl chan bool)
functest.go:18
↓ 2 callers
Function
EscapeBuffer
(b *bytes.Buffer, q string)
db/db.go:177
↓ 2 callers
Function
ShowCurrent
()
static/js/main.js:249
↓ 2 callers
Function
addToFriendsLink
(id, name, lnkText)
static/js/friends.js:110
↓ 2 callers
Function
addToTimeline
(msgText)
static/js/timeline.js:34
↓ 2 callers
Method
callMethod
(msg, respMsg string, req, resp interface{})
functest.go:100
↓ 2 callers
Function
cb
()
static/js/main.js:165
↓ 2 callers
Function
convertUnderscoreToCamelCase
REQUEST_GET_MESSAGES => RequestGetMessages
main.go:217
↓ 2 callers
Function
createMsgEl
* Return message div that corresponds to msg object * * @param msg * @returns {HTMLElement}
static/js/messages.js:60
↓ 2 callers
Function
createTsEl
(ts)
static/js/main.js:269
↓ 2 callers
Function
deleteElements
(els)
static/js/friends.js:122
↓ 2 callers
Function
drawSep
()
static/js/messages.js:86
↓ 2 callers
Function
extractHashTags
Parses "hello #vbambuke" and returns []string{"vbambuke"}
handlers/timeline.go:192
↓ 2 callers
Function
fillReq
(arr, cb)
static/js/profile.js:152
↓ 2 callers
Function
getAuthUserInfo
(cookies []*http.Cookie)
main.go:172
↓ 2 callers
Function
getHashIDs
(tx db.Querier, hashtags []string)
handlers/timeline.go:202
↓ 2 callers
Function
getTimeline
(q *getTimelineQuery)
handlers/timeline.go:78
↓ 2 callers
Function
getUsersByStmt
(userId uint64, stmt *sql.Stmt)
db/db.go:271
↓ 2 callers
Function
hideAll
()
static/js/main.js:241
↓ 2 callers
Function
loginUser
(email, userPassword string)
main.go:76
↓ 2 callers
Function
onUserConnect
(userInfo)
static/js/main.js:89
↓ 2 callers
Function
passwordHash
(password string)
main.go:140
↓ 2 callers
Function
readStringFirst
(v []byte)
restore-test/main.go:72
↓ 2 callers
Function
registerUser
(email, userPassword, name string)
main.go:365
↓ 2 callers
Function
seltd
(name, title, value, options)
static/js/profile.js:115
↓ 2 callers
Function
sendMessage
(msgText)
static/js/messages.js:199
↓ 2 callers
Function
showError
(msg)
static/js/main.js:109
↓ 2 callers
Function
showMessages
(id)
static/js/messages.js:179
↓ 2 callers
Function
showNotification
(msg)
static/js/main.js:117
↓ 2 callers
Function
updateConnectionStatus
()
static/js/main.js:12
↓ 2 callers
Function
zeropad
(m)
static/js/profile.js:174
↓ 1 callers
Method
SetReplyType
(string)
protocol/protocol.go:66
↓ 1 callers
Method
SetSeqId
(int)
protocol/protocol.go:65
↓ 1 callers
Function
SetUpFriendsPage
()
static/js/friends.js:1
↓ 1 callers
Function
SetUpMessagesPage
()
static/js/messages.js:205
↓ 1 callers
Function
SetUpProfilePage
()
static/js/profile.js:11
↓ 1 callers
Function
SetUpTimelinePage
()
static/js/timeline.js:13
↓ 1 callers
Function
ShowHash
(hash)
static/js/timeline.js:174
↓ 1 callers
Function
ShowTimeline
()
static/js/timeline.js:182
↓ 1 callers
Function
avatarPath
(id int)
main.go:59
↓ 1 callers
Function
convertCamelCaseToUnderscore
ReplyGetMessages => REPLY_GET_MESSAGES
main.go:227
↓ 1 callers
Function
decodeCity
(pk string, kv engine.MVCCKeyValue)
restore-test/main.go:39
↓ 1 callers
Function
decodeFriend
(pk string, kv engine.MVCCKeyValue)
restore-test/main.go:129
↓ 1 callers
Function
decodeMessages
var isOut = true // out is written first
restore-test/main.go:151
↓ 1 callers
Function
decodeSocialUser
(pk string, kv engine.MVCCKeyValue)
restore-test/main.go:51
↓ 1 callers
Function
decodeTimeline
(pk string, kv engine.MVCCKeyValue)
restore-test/main.go:169
↓ 1 callers
Function
decodeUserInfo
(pk string, kv engine.MVCCKeyValue)
restore-test/main.go:103
↓ 1 callers
Function
getOrCreateHashIDs
(tx *sql.Tx, hashtags []string)
handlers/timeline.go:229
↓ 1 callers
Function
getTimelineIDsForHash
(hashID, dateEnd, limit uint64)
handlers/timeline.go:18
↓ 1 callers
Function
handleNewMessage
(listenerMap map[chan interface{}]*session.SessionInfo, userListeners map[uint64]map[chan interface{}]bool, ev
events/dispatcher.go:150
↓ 1 callers
Function
handleNewTimelineEvent
(listenerMap map[chan interface{}]*session.SessionInfo, userListeners map[uint64]map[chan interface{}]bool, ev
events/dispatcher.go:191
↓ 1 callers
Function
handleUserConnected
(listenerMap map[chan interface{}]*session.SessionInfo, userListeners map[uint64]map[chan interface{}]bool, ev
events/dispatcher.go:84
↓ 1 callers
Function
handleUserDisconnected
(listenerMap map[chan interface{}]*session.SessionInfo, userListeners map[uint64]map[chan interface{}]bool, ev
events/dispatcher.go:122
↓ 1 callers
Function
haveFlag
(fl chan bool)
functest.go:25
↓ 1 callers
Function
inpdate
(name, title, value)
static/js/profile.js:95
↓ 1 callers
Function
insertHashTimeline
(tx *sql.Tx, timelineID uint64, hashIDs []uint64, now int64)
handlers/timeline.go:273
↓ 1 callers
Function
insertTimeline
(tx *sql.Tx, userID uint64, userIDs []uint64, text string, now int64)
handlers/timeline.go:150
↓ 1 callers
Function
listen
(addr string)
main.go:419
↓ 1 callers
Function
loadUsersList
(minId)
static/js/friends.js:141
↓ 1 callers
Function
onNewMessage
(msg)
static/js/messages.js:145
↓ 1 callers
Function
onNewTimelineEvent
(msg)
static/js/timeline.js:169
↓ 1 callers
Function
onUserDisconnect
(userInfo)
static/js/main.js:99
↓ 1 callers
Function
redrawMessageUsers
(users)
static/js/messages.js:20
↓ 1 callers
Function
redrawUsers
()
static/js/main.js:180
↓ 1 callers
Function
responseReaderThread
(c *websocket.Conn, online, connected, newmsg chan bool, respChan chan map[string]interface{})
functest.go:63
↓ 1 callers
Function
runTest
(addr string)
functest.go:183
↓ 1 callers
Function
serveAuthPage
(sessionInfo *session.SessionInfo, w http.ResponseWriter)
main.go:150
↓ 1 callers
Function
setupAndGetConnection
(addr string)
functest.go:35
↓ 1 callers
Function
showMessagesResponse
(id, reply, erase)
static/js/messages.js:74
↓ 1 callers
Function
showTimelineHashResponse
(hash, reply, first)
static/js/timeline.js:118
↓ 1 callers
Function
showTimelineResponse
(reply, first)
static/js/timeline.js:80
↓ 1 callers
Function
testConvertUnderscoreToCamelCase
()
functest.go:175
↓ 1 callers
Function
testGetMessages
(p *TestConn)
functest.go:128
↓ 1 callers
Function
testSendMessage
(p *TestConn)
functest.go:157
Function
AvatarServer
(w http.ResponseWriter, req *http.Request)
main.go:64
Function
CheckHandler
(w http.ResponseWriter, req *http.Request)
main.go:375
Function
CreateSession
Create session with info and return session identifier or error
session/session.go:46
Function
DoRegisterHandler
(w http.ResponseWriter, req *http.Request)
main.go:388
Function
Escape
(q string)
db/db.go:186
Function
EventsDispatcher
()
events/dispatcher.go:220
Function
GetCityInfo
(id uint64)
db/db.go:224
next →
1–100 of 146, ranked by callers