MCPcopy Create free account

hub / github.com/KoFish/pallium / functions

Functions141 in github.com/KoFish/pallium

↓ 76 callersMethodString
()
objects/stream.go:24
↓ 60 callersMethodError
()
api/errors.go:27
↓ 25 callersMethodExec
(string, ...interface{})
storage/db.go:38
↓ 24 callersFunctionENotFound
(msg string)
api/errors.go:65
↓ 18 callersFunctionEForbidden
(msg string)
api/errors.go:49
↓ 18 callersMethodRollback
()
storage/db.go:51
↓ 16 callersFunctionEBadJSON
(msg string)
api/errors.go:57
↓ 15 callersMethodQueryRow
(string, ...interface{})
storage/db.go:40
↓ 9 callersFunctionNewStateEvent
(tx TX, user_id m.UserID, room_id m.RoomID, event_type, state_key string, content map[string]interface{})
storage/events.go:191
↓ 8 callersMethodQuery
(string, ...interface{})
storage/db.go:39
↓ 7 callersFunctionENotJSON
(msg string)
api/errors.go:61
↓ 7 callersFunctionParseUserID
(s string)
matrix/types.go:47
↓ 6 callersFunctionNewError
Create a new JSON-serializable matrix-formatted error message. The intention for having this in the api package is that it should be extendable for an
api/errors.go:42
↓ 5 callersFunctionNow
()
storage/db.go:65
↓ 5 callersFunctionmakeDSS
(sigil, localpart, domain string)
matrix/dss.go:56
↓ 4 callersMethodBegin
()
storage/db.go:45
↓ 4 callersMethodCommit
()
storage/db.go:50
↓ 4 callersMethodCompare
(b DomainSpecificString)
matrix/dss.go:36
↓ 4 callersMethodGetProfile
(db DBI)
storage/profiles.go:43
↓ 4 callersFunctionparseDSS
(sigil, s string)
matrix/dss.go:70
↓ 3 callersMethodGetOne
(key, defval string)
api/api.go:31
↓ 3 callersMethodIsMine
()
matrix/dss.go:52
↓ 3 callersMethodUpdateMember
(tx TX, sender m.UserID, target m.UserID, new_membership m.RoomMembership)
storage/rooms.go:213
↓ 2 callersFunctionCreateEvent
(tx TX, event_id m.EventID, user_id m.UserID, room_id m.RoomID, event_type string, content map[string]interfac
storage/events.go:103
↓ 2 callersMethodDomain
()
matrix/dss.go:48
↓ 2 callersMethodGetAccessToken
(db DBI)
storage/access_tokens.go:56
↓ 2 callersMethodGetUserMembership
(db DBI, user_id m.UserID)
storage/rooms.go:116
↓ 2 callersMethodHash
()
storage/users.go:185
↓ 2 callersMethodMakeHash
(salt string)
storage/users.go:180
↓ 2 callersMethodWriteTo
WriteTo should really be able to implement the io.WriterTo interface but can't since the json.Encode does not return the correct values.
api/errors.go:33
↓ 2 callersFunctiontoBytes
(nr int64)
matrix/types.go:91
↓ 1 callersMethodCheckedUpdateMember
(tx TX, sender, target m.UserID, new_membership m.RoomMembership)
storage/rooms.go:423
↓ 1 callersFunctionCreateStateEvent
(tx TX, event_id m.EventID, user_id m.UserID, room_id m.RoomID, event_type, state_key string, content map[stri
storage/events.go:159
↓ 1 callersFunctionEUserInUse
(msg string)
api/errors.go:69
↓ 1 callersMethodEqual
(password string)
storage/users.go:193
↓ 1 callersFunctionGetDatabase
()
storage/db.go:54
↓ 1 callersMethodGetInitialPresence
(db DBI)
storage/users.go:144
↓ 1 callersMethodGetInviteLevel
(db DBI)
storage/rooms.go:385
↓ 1 callersMethodGetJoinRule
(db DBI)
storage/rooms.go:139
↓ 1 callersMethodGetOpsLevels
(db DBI)
storage/rooms.go:334
↓ 1 callersMethodGetPresence
(db DBI)
storage/presence.go:70
↓ 1 callersMethodGetRoomMemberships
Fetch the users joined rooms and return it in a list for initial sync. limit is used to limit the number of messages that is returned for each room.
storage/users.go:113
↓ 1 callersMethodGetUserPowerLevel
(db DBI, user_id m.UserID)
storage/rooms.go:104
↓ 1 callersMethodInviteMember
(tx TX, sender m.UserID, target m.UserID)
storage/rooms.go:231
↓ 1 callersMethodLocalpart
()
matrix/dss.go:44
↓ 1 callersFunctionNewAccessToken
(db DBI, u *User)
storage/access_tokens.go:25
↓ 1 callersFunctionNewEvent
(tx TX, user_id m.UserID, room_id m.RoomID, event_type string, content map[string]interface{})
storage/events.go:183
↓ 1 callersFunctionNewEventID
(localpart, domain string)
matrix/types.go:81
↓ 1 callersFunctionNewProfile
(db DBI, u *User)
storage/profiles.go:23
↓ 1 callersFunctionNewRoomID
(localpart, domain string)
matrix/types.go:52
↓ 1 callersFunctionRequireAuth
(fn AuthJSONReply)
rest/utils/json_helpers.go:54
↓ 1 callersMethodSalt
()
storage/users.go:189
↓ 1 callersMethodSetPassword
(db DBI, passwordstring string)
storage/users.go:167
↓ 1 callersMethodUpdateAccessToken
(db DBI)
storage/access_tokens.go:79
↓ 1 callersMethodUpdateAddStateLevel
(tx TX, sender m.UserID, new_level int64)
storage/rooms.go:304
↓ 1 callersMethodUpdateAliases
(tx TX, sender m.UserID, new_aliases []m.RoomAlias)
storage/rooms.go:235
↓ 1 callersMethodUpdateAvatarURL
(db DBI, newurl string)
storage/profiles.go:81
↓ 1 callersMethodUpdateDisplayName
(db DBI, newname string)
storage/profiles.go:63
↓ 1 callersMethodUpdateJoinRule
(tx TX, sender m.UserID, new_join_rule m.RoomJoinRule)
storage/rooms.go:162
↓ 1 callersMethodUpdateName
(tx TX, sender m.UserID, new_name string)
storage/rooms.go:179
↓ 1 callersMethodUpdateOpsLevel
(tx TX, sender m.UserID, new_levels map[string]int64)
storage/rooms.go:343
↓ 1 callersMethodUpdatePassword
(db DBI, hash PasswordHash)
storage/users.go:149
↓ 1 callersMethodUpdatePowerLevels
(tx TX, sender m.UserID, new_levels map[m.UserID]int64, default_level *int64)
storage/rooms.go:260
↓ 1 callersMethodUpdatePresence
(db DBI, newpresence PresenceState, message string)
storage/presence.go:54
↓ 1 callersMethodUpdateSendEventLevel
(tx TX, sender m.UserID, new_level int64)
storage/rooms.go:319
↓ 1 callersMethodUpdateTopic
(tx TX, sender m.UserID, new_topic string)
storage/rooms.go:196
↓ 1 callersFunctioncanBan
(is_self, s_joined bool, s_level, r_ban_level int64)
storage/rooms.go:419
↓ 1 callersFunctioncanInvite
(is_self, u_joined, s_joined, u_banned bool, s_level, r_inv_level, r_ban_level int64)
storage/rooms.go:397
↓ 1 callersFunctioncanJoin
(is_self, r_public, u_invited bool)
storage/rooms.go:393
↓ 1 callersFunctioncanLeave
(is_self, u_joined, u_invited, s_joined bool, s_level, r_kick_level int64)
storage/rooms.go:411
↓ 1 callersFunctioncreateEventEdge
(db DBI, from_event, to_event m.EventID, room_id m.RoomID)
storage/events.go:81
↓ 1 callersFunctiongenerateSalt
()
storage/utils.go:23
↓ 1 callersFunctiongetCurrentRoomEvent
(db DBI, room_id m.RoomID)
storage/events.go:24
↓ 1 callersFunctiongetCurrentState
(db DBI, room_id m.RoomID, event_type, state_key string)
storage/events.go:40
↓ 1 callersFunctiongetroom_idDepth
(db DBI, room_id m.RoomID)
storage/events.go:69
↓ 1 callersFunctionload
(configfile string)
config/homeserver.go:41
↓ 1 callersFunctionloginUserByPassword
(user, password string)
api/auth.go:146
↓ 1 callersFunctionmakeHash
(pass, salt string)
storage/utils.go:32
↓ 1 callersFunctionmakeToken
(base string)
storage/utils.go:38
↓ 1 callersFunctionregisterUserByPassword
(user, password string)
api/auth.go:105
↓ 1 callersFunctionsetupEvents
(root *mux.Router)
rest/events.go:21
↓ 1 callersFunctionsetupFederation
(sub *mux.Router)
rest/federation.go:19
↓ 1 callersFunctionsetupLogin
(root *mux.Router)
rest/login.go:28
↓ 1 callersFunctionsetupPresence
(root *mux.Router)
rest/presence.go:21
↓ 1 callersFunctionsetupProfile
(root *mux.Router)
rest/profile.go:11
↓ 1 callersFunctionsetupRegister
(root *mux.Router)
rest/login.go:35
↓ 1 callersFunctionsetupRooms
(root *mux.Router)
rest/rooms.go:23
↓ 1 callersFunctionsetupVoip
(root *mux.Router)
rest/voip.go:22
↓ 1 callersFunctionupdateroom_idDepth
(db DBI, room_id m.RoomID, depth int64)
storage/events.go:59
FunctionAPIEndpoint
(fn api.SimpleEndpoint)
rest/utils/json_helpers.go:91
FunctionAuthAPIEndpoint
(fn api.AuthEndpoint)
rest/utils/json_helpers.go:98
FunctionCreateRoom
(tx TX, creator m.UserID, is_public bool)
storage/rooms.go:80
FunctionCreateRoom
(user *s.User, req io.Reader, vars Vars, query Query)
api/room.go:70
FunctionCreateUser
(db DBI, user_id m.UserID)
storage/users.go:34
FunctionEUnknownToken
(msg string)
api/errors.go:53
FunctionGenerateEventID
()
matrix/types.go:99
FunctionGenerateRoomID
()
matrix/types.go:57
FunctionGetAvatarURL
(req_user *s.User, request io.Reader, vars Vars, q Query)
api/profile.go:85
FunctionGetDisplayName
(req_user *s.User, request io.Reader, vars Vars, q Query)
api/profile.go:25
FunctionGetEvents
(user *s.User, request io.Reader, vars Vars, query Query)
api/eventstream.go:43
next →1–100 of 141, ranked by callers