Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/muety/wakapi
/ functions
Functions
1,898 in github.com/muety/wakapi
⨍
Functions
1,898
◇
Types & classes
319
↓ 1 callers
Method
Exists
(name string)
utils/fs/exists.go:33
↓ 1 callers
Method
ExistsAnyByUser
(userId string)
services/leaderboard.go:145
↓ 1 callers
Method
Exp
()
config/oidc.go:37
↓ 1 callers
Function
ExtractBearerAuth
(r *http.Request)
utils/auth.go:39
↓ 1 callers
Function
ExtractCookieAuth
(r *http.Request, config *config.Config)
helpers/http.go:11
↓ 1 callers
Function
FadeColors
(color1, color2 color.RGBA, ratio float64)
utils/color.go:27
↓ 1 callers
Method
FindOne
(attributes models.User)
repositories/user.go:22
↓ 1 callers
Function
FindString
(needle string, haystack []string, defaultVal string)
utils/strings.go:18
↓ 1 callers
Function
FormatDateTimeHuman
(date time.Time)
helpers/date.go:36
↓ 1 callers
Method
FromModel
(userAgent *models.UserAgent)
models/compat/wakatime/v1/user_agent.go:26
↓ 1 callers
Method
GenerateAggregatedByUser
(user *models.User, interval *models.IntervalKey, by uint8)
services/leaderboard.go:250
↓ 1 callers
Method
GenerateByUser
(user *models.User, interval *models.IntervalKey)
services/leaderboard.go:228
↓ 1 callers
Method
GenerateResetToken
(*models.User)
services/services.go:180
↓ 1 callers
Method
GenerateUnsubscribeToken
(*models.User)
services/services.go:181
↓ 1 callers
Method
Get
(key K)
lib/concurrent_map.go:22
↓ 1 callers
Method
GetAggregatedByInterval
(interval *models.IntervalKey, by *uint8, pageParams *utils.PageParams, resolveUsers bool)
services/leaderboard.go:172
↓ 1 callers
Method
GetAggregatedByIntervalAndUser
(interval *models.IntervalKey, userId string, by *uint8, resolveUser bool)
services/leaderboard.go:201
↓ 1 callers
Method
GetAggregatedByUserAndInterval
(string, *models.IntervalKey, *uint8, int, int)
repositories/repositories.go:147
↓ 1 callers
Method
GetAll
()
repositories/key_value.go:22
↓ 1 callers
Method
GetAll
()
repositories/leaderboard.go:46
↓ 1 callers
Method
GetAllAggregatedByInterval
(*models.IntervalKey, *uint8, int, int)
repositories/repositories.go:146
↓ 1 callers
Method
GetAllWithin
(time.Time, time.Time, *models.User)
repositories/repositories.go:61
↓ 1 callers
Method
GetAllWithinByFilters
(from, to time.Time, user *models.User, filterMap map[string][]string)
repositories/duration.go:67
↓ 1 callers
Method
GetById
(uint)
repositories/repositories.go:100
↓ 1 callers
Method
GetByIds
(userIds []string)
repositories/user.go:30
↓ 1 callers
Method
GetByUser
(userId string)
services/language_mapping.go:41
↓ 1 callers
Method
GetByUser
(userId string)
repositories/alias.go:25
↓ 1 callers
Method
GetByUser
(userId string)
repositories/project_label.go:35
↓ 1 callers
Method
GetByUser
(userId string)
repositories/language_mapping.go:35
↓ 1 callers
Method
GetByUser
(userID string)
repositories/webauthn.go:27
↓ 1 callers
Method
GetByUserAndKeyAndType
(string, string, uint8)
services/services.go:34
↓ 1 callers
Method
GetByUserAndKeyAndType
(string, string, uint8)
repositories/repositories.go:27
↓ 1 callers
Method
GetByUserAndName
(string, string)
repositories/repositories.go:163
↓ 1 callers
Method
GetByUserAndType
(string, uint8)
services/services.go:33
↓ 1 callers
Method
GetByUserWithin
(*models.User, time.Time, time.Time)
repositories/repositories.go:111
↓ 1 callers
Method
GetByUserWithin
(user *models.User, from, to time.Time)
repositories/summary.go:104
↓ 1 callers
Method
GetCanonicalLanguageNames
()
config/config.go:316
↓ 1 callers
Method
GetChart
(*models.User, *models.IntervalKey, bool, bool, bool)
services/services.go:129
↓ 1 callers
Method
GetConfig
()
services/mail/smtp_test.go:189
↓ 1 callers
Method
GetCredentialByUserAndName
(*models.User, string)
services/services.go:196
↓ 1 callers
Method
GetCredentialsByUser
(user *models.User)
services/webauthn.go:26
↓ 1 callers
Method
GetCustomLanguages
()
config/config.go:312
↓ 1 callers
Method
GetDatabaseSize
()
repositories/metrics.go:29
↓ 1 callers
Method
GetEditorColors
()
config/config.go:327
↓ 1 callers
Method
GetEntitySetByUser
(uint8, string)
repositories/repositories.go:49
↓ 1 callers
Method
GetKey
(t uint8)
models/duration.go:130
↓ 1 callers
Method
GetLanguageColors
()
config/config.go:323
↓ 1 callers
Method
GetLastAll
()
services/services.go:51
↓ 1 callers
Method
GetLastBySingleUser
(string)
repositories/repositories.go:113
↓ 1 callers
Method
GetLastByUser
(*models.User)
services/services.go:54
↓ 1 callers
Method
GetLatestByFilters
(*models.User, *models.Filters)
services/services.go:57
↓ 1 callers
Method
GetLatestByOriginAndUser
(string, *models.User)
services/services.go:56
↓ 1 callers
Method
GetLatestByOriginAndUser
(string, *models.User)
repositories/repositories.go:42
↓ 1 callers
Method
GetLatestBySingleUser
(userId string)
services/summary.go:279
↓ 1 callers
Method
GetLoginMaxRate
()
config/config.go:469
↓ 1 callers
Method
GetMany
(ids []string)
repositories/user.go:51
↓ 1 callers
Function
GetMigrationFunc
(cfg *config.Config)
migrations/migrations.go:30
↓ 1 callers
Method
GetOSColors
()
config/config.go:331
↓ 1 callers
Function
GetOidcContext
(ctx context.Context)
config/oidc.go:79
↓ 1 callers
Function
GetOidcProviderIcon
(provider string)
models/view/utils.go:39
↓ 1 callers
Method
GetPasswordResetMaxRate
()
config/config.go:473
↓ 1 callers
Function
GetPrincipal
(r *http.Request)
routes/utils/principal.go:17
↓ 1 callers
Method
GetSignupMaxRate
()
config/config.go:465
↓ 1 callers
Method
GetTableDDLSqlite
(string)
repositories/repositories.go:14
↓ 1 callers
Method
GetUserAgentsByUser
(*models.User)
services/services.go:65
↓ 1 callers
Method
GetUserAgentsByUser
(user *models.User)
repositories/repositories.go:54
↓ 1 callers
Method
GetUserByResetToken
(string)
services/services.go:160
↓ 1 callers
Method
GetUserByStripeCustomerId
(string)
services/services.go:162
↓ 1 callers
Method
GetUserByUnsubscribeToken
(string)
services/services.go:161
↓ 1 callers
Method
GetUserByWebAuthnID
(string)
services/services.go:164
↓ 1 callers
Method
GetWithin
(time.Time, time.Time, *models.User)
repositories/repositories.go:35
↓ 1 callers
Method
HasActiveSubscriptionStrict
()
models/user.go:205
↓ 1 callers
Method
HasAlias
(s string)
models/interval.go:47
↓ 1 callers
Method
HasFilters
()
models/summary.go:444
↓ 1 callers
Function
HashArgon2Id
(plain, pepper string)
utils/auth.go:83
↓ 1 callers
Method
HeartbeatsMaxAge
()
config/config.go:412
↓ 1 callers
Function
IPv4HandledByDualStack
(ip4, ip6 string)
utils/net.go:8
↓ 1 callers
Method
Identity
()
models/user.go:139
↓ 1 callers
Method
Import
(user *models.User, minFrom time.Time, maxTo time.Time)
services/imports/wakatime_dump.go:37
↓ 1 callers
Method
Import
(user *models.User, minFrom time.Time, maxTo time.Time)
services/imports/wakatime_heartbeats.go:46
↓ 1 callers
Method
Import
(user *models.User, minFrom time.Time, maxTo time.Time)
services/imports/wakatime.go:23
↓ 1 callers
Method
ImportAll
(user *models.User)
services/imports/wakatime.go:33
↓ 1 callers
Function
InitLogger
(logFormat string)
config/logging.go:11
↓ 1 callers
Method
InitializeUser
(userId string)
services/alias.go:39
↓ 1 callers
Method
InitializeUser
(string)
services/services.go:31
↓ 1 callers
Method
Insert
(alias *models.Alias)
repositories/alias.go:88
↓ 1 callers
Method
Insert
(label *models.ProjectLabel)
repositories/project_label.go:48
↓ 1 callers
Method
Insert
(mapping *models.LanguageMapping)
repositories/language_mapping.go:48
↓ 1 callers
Method
Insert
(credential *models.WebAuthnCredential)
repositories/webauthn.go:19
↓ 1 callers
Method
InsertBatch
(heartbeats []*models.Heartbeat)
repositories/heartbeat.go:32
↓ 1 callers
Method
InsertBatch
(items []*models.LeaderboardItem)
repositories/leaderboard.go:18
↓ 1 callers
Method
InsertBatch
(durations []*models.Duration)
repositories/duration.go:92
↓ 1 callers
Method
InsertOrGet
(*models.User)
repositories/repositories.go:131
↓ 1 callers
Method
InsertOrGet
(user *models.User)
repositories/user.go:115
↓ 1 callers
Method
InsertWithRetry
(*models.Summary)
repositories/repositories.go:109
↓ 1 callers
Method
IsValid
()
models/project_label.go:14
↓ 1 callers
Method
IsValid
()
models/user.go:242
↓ 1 callers
Method
IsValid
()
models/user.go:247
↓ 1 callers
Method
IsValid
()
models/user.go:252
↓ 1 callers
Method
IsValid
()
models/user.go:267
← previous
next →
501–600 of 1,898, ranked by callers