MCPcopy Create free account

hub / github.com/YuriyNasretdinov/social-net / functions

Functions146 in github.com/YuriyNasretdinov/social-net

↓ 22 callersFunctionprepareStmt
(db *sql.DB, stmt string)
db/db.go:67
↓ 16 callersFunctionsendReq
(reqType, reqData, onrcv)
static/js/main.js:163
↓ 15 callersMethodQuery
(query string, args ...interface{})
db/db.go:20
↓ 14 callersFunctionaddEv
(id, evName, func)
static/js/main.js:215
↓ 9 callersFunctionchangeLocation
(title, url)
static/js/main.js:263
↓ 9 callersFunctionreadVarInt
(v []byte)
restore-test/main.go:96
↓ 8 callersFunctionescape
(q string)
restore-test/main.go:26
↓ 8 callersFunctioninp
(name, title, value)
static/js/profile.js:43
↓ 4 callersFunctionfmtDate
(value)
static/js/profile.js:48
↓ 4 callersFunctionprofileLink
(id, name)
static/js/friends.js:50
↓ 4 callersFunctionreadVarIntFirst
(v []byte)
restore-test/main.go:88
↓ 4 callersFunctionredrawFriendsRequestCount
()
static/js/friends.js:26
↓ 4 callersFunctionsel
(name, value, options)
static/js/profile.js:119
↓ 4 callersFunctionserveStatic
(filename string, w http.ResponseWriter)
main.go:35
↓ 3 callersFunctioncheckFlag
(fl chan bool, name string)
functest.go:169
↓ 3 callersFunctioncreateTimelineEl
(msg)
static/js/timeline.js:40
↓ 3 callersFunctionhtmlspecialchars
(string, quoteStyle, charset, doubleEncode)
static/js/main.js:16
↓ 3 callersFunctionreadString
(v []byte)
restore-test/main.go:81
↓ 3 callersFunctionsendError
(seqId int, recvChan chan interface{}, message string)
main.go:203
↓ 3 callersFunctionsetFlag
(fl chan bool)
functest.go:18
↓ 2 callersFunctionEscapeBuffer
(b *bytes.Buffer, q string)
db/db.go:177
↓ 2 callersFunctionShowCurrent
()
static/js/main.js:249
↓ 2 callersFunctionaddToFriendsLink
(id, name, lnkText)
static/js/friends.js:110
↓ 2 callersFunctionaddToTimeline
(msgText)
static/js/timeline.js:34
↓ 2 callersMethodcallMethod
(msg, respMsg string, req, resp interface{})
functest.go:100
↓ 2 callersFunctioncb
()
static/js/main.js:165
↓ 2 callersFunctionconvertUnderscoreToCamelCase
REQUEST_GET_MESSAGES => RequestGetMessages
main.go:217
↓ 2 callersFunctioncreateMsgEl
* Return message div that corresponds to msg object * * @param msg * @returns {HTMLElement}
static/js/messages.js:60
↓ 2 callersFunctioncreateTsEl
(ts)
static/js/main.js:269
↓ 2 callersFunctiondeleteElements
(els)
static/js/friends.js:122
↓ 2 callersFunctiondrawSep
()
static/js/messages.js:86
↓ 2 callersFunctionextractHashTags
Parses "hello #vbambuke" and returns []string{"vbambuke"}
handlers/timeline.go:192
↓ 2 callersFunctionfillReq
(arr, cb)
static/js/profile.js:152
↓ 2 callersFunctiongetAuthUserInfo
(cookies []*http.Cookie)
main.go:172
↓ 2 callersFunctiongetHashIDs
(tx db.Querier, hashtags []string)
handlers/timeline.go:202
↓ 2 callersFunctiongetTimeline
(q *getTimelineQuery)
handlers/timeline.go:78
↓ 2 callersFunctiongetUsersByStmt
(userId uint64, stmt *sql.Stmt)
db/db.go:271
↓ 2 callersFunctionhideAll
()
static/js/main.js:241
↓ 2 callersFunctionloginUser
(email, userPassword string)
main.go:76
↓ 2 callersFunctiononUserConnect
(userInfo)
static/js/main.js:89
↓ 2 callersFunctionpasswordHash
(password string)
main.go:140
↓ 2 callersFunctionreadStringFirst
(v []byte)
restore-test/main.go:72
↓ 2 callersFunctionregisterUser
(email, userPassword, name string)
main.go:365
↓ 2 callersFunctionseltd
(name, title, value, options)
static/js/profile.js:115
↓ 2 callersFunctionsendMessage
(msgText)
static/js/messages.js:199
↓ 2 callersFunctionshowError
(msg)
static/js/main.js:109
↓ 2 callersFunctionshowMessages
(id)
static/js/messages.js:179
↓ 2 callersFunctionshowNotification
(msg)
static/js/main.js:117
↓ 2 callersFunctionupdateConnectionStatus
()
static/js/main.js:12
↓ 2 callersFunctionzeropad
(m)
static/js/profile.js:174
↓ 1 callersMethodSetReplyType
(string)
protocol/protocol.go:66
↓ 1 callersMethodSetSeqId
(int)
protocol/protocol.go:65
↓ 1 callersFunctionSetUpFriendsPage
()
static/js/friends.js:1
↓ 1 callersFunctionSetUpMessagesPage
()
static/js/messages.js:205
↓ 1 callersFunctionSetUpProfilePage
()
static/js/profile.js:11
↓ 1 callersFunctionSetUpTimelinePage
()
static/js/timeline.js:13
↓ 1 callersFunctionShowHash
(hash)
static/js/timeline.js:174
↓ 1 callersFunctionShowTimeline
()
static/js/timeline.js:182
↓ 1 callersFunctionavatarPath
(id int)
main.go:59
↓ 1 callersFunctionconvertCamelCaseToUnderscore
ReplyGetMessages => REPLY_GET_MESSAGES
main.go:227
↓ 1 callersFunctiondecodeCity
(pk string, kv engine.MVCCKeyValue)
restore-test/main.go:39
↓ 1 callersFunctiondecodeFriend
(pk string, kv engine.MVCCKeyValue)
restore-test/main.go:129
↓ 1 callersFunctiondecodeMessages
var isOut = true // out is written first
restore-test/main.go:151
↓ 1 callersFunctiondecodeSocialUser
(pk string, kv engine.MVCCKeyValue)
restore-test/main.go:51
↓ 1 callersFunctiondecodeTimeline
(pk string, kv engine.MVCCKeyValue)
restore-test/main.go:169
↓ 1 callersFunctiondecodeUserInfo
(pk string, kv engine.MVCCKeyValue)
restore-test/main.go:103
↓ 1 callersFunctiongetOrCreateHashIDs
(tx *sql.Tx, hashtags []string)
handlers/timeline.go:229
↓ 1 callersFunctiongetTimelineIDsForHash
(hashID, dateEnd, limit uint64)
handlers/timeline.go:18
↓ 1 callersFunctionhandleNewMessage
(listenerMap map[chan interface{}]*session.SessionInfo, userListeners map[uint64]map[chan interface{}]bool, ev
events/dispatcher.go:150
↓ 1 callersFunctionhandleNewTimelineEvent
(listenerMap map[chan interface{}]*session.SessionInfo, userListeners map[uint64]map[chan interface{}]bool, ev
events/dispatcher.go:191
↓ 1 callersFunctionhandleUserConnected
(listenerMap map[chan interface{}]*session.SessionInfo, userListeners map[uint64]map[chan interface{}]bool, ev
events/dispatcher.go:84
↓ 1 callersFunctionhandleUserDisconnected
(listenerMap map[chan interface{}]*session.SessionInfo, userListeners map[uint64]map[chan interface{}]bool, ev
events/dispatcher.go:122
↓ 1 callersFunctionhaveFlag
(fl chan bool)
functest.go:25
↓ 1 callersFunctioninpdate
(name, title, value)
static/js/profile.js:95
↓ 1 callersFunctioninsertHashTimeline
(tx *sql.Tx, timelineID uint64, hashIDs []uint64, now int64)
handlers/timeline.go:273
↓ 1 callersFunctioninsertTimeline
(tx *sql.Tx, userID uint64, userIDs []uint64, text string, now int64)
handlers/timeline.go:150
↓ 1 callersFunctionlisten
(addr string)
main.go:419
↓ 1 callersFunctionloadUsersList
(minId)
static/js/friends.js:141
↓ 1 callersFunctiononNewMessage
(msg)
static/js/messages.js:145
↓ 1 callersFunctiononNewTimelineEvent
(msg)
static/js/timeline.js:169
↓ 1 callersFunctiononUserDisconnect
(userInfo)
static/js/main.js:99
↓ 1 callersFunctionredrawMessageUsers
(users)
static/js/messages.js:20
↓ 1 callersFunctionredrawUsers
()
static/js/main.js:180
↓ 1 callersFunctionresponseReaderThread
(c *websocket.Conn, online, connected, newmsg chan bool, respChan chan map[string]interface{})
functest.go:63
↓ 1 callersFunctionrunTest
(addr string)
functest.go:183
↓ 1 callersFunctionserveAuthPage
(sessionInfo *session.SessionInfo, w http.ResponseWriter)
main.go:150
↓ 1 callersFunctionsetupAndGetConnection
(addr string)
functest.go:35
↓ 1 callersFunctionshowMessagesResponse
(id, reply, erase)
static/js/messages.js:74
↓ 1 callersFunctionshowTimelineHashResponse
(hash, reply, first)
static/js/timeline.js:118
↓ 1 callersFunctionshowTimelineResponse
(reply, first)
static/js/timeline.js:80
↓ 1 callersFunctiontestConvertUnderscoreToCamelCase
()
functest.go:175
↓ 1 callersFunctiontestGetMessages
(p *TestConn)
functest.go:128
↓ 1 callersFunctiontestSendMessage
(p *TestConn)
functest.go:157
FunctionAvatarServer
(w http.ResponseWriter, req *http.Request)
main.go:64
FunctionCheckHandler
(w http.ResponseWriter, req *http.Request)
main.go:375
FunctionCreateSession
Create session with info and return session identifier or error
session/session.go:46
FunctionDoRegisterHandler
(w http.ResponseWriter, req *http.Request)
main.go:388
FunctionEscape
(q string)
db/db.go:186
FunctionEventsDispatcher
()
events/dispatcher.go:220
FunctionGetCityInfo
(id uint64)
db/db.go:224
next →1–100 of 146, ranked by callers