Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gotify/server
/ functions
Functions
910 in github.com/gotify/server
⨍
Functions
910
◇
Types & classes
173
↓ 3 callers
Method
UpdateClientTokensLastUsed
(tokens []string, t *time.Time)
auth/authentication.go:24
↓ 3 callers
Method
UpdateUser
(user *model.User)
api/user.go:20
↓ 3 callers
Function
Wrap
Wrap wraps around a raw go plugin to provide typesafe access.
plugin/compat/wrap.go:12
↓ 3 callers
Method
appWithToken
(id uint, token string, internal bool)
test/testdb/database.go:89
↓ 3 callers
Function
createApp
(name: string)
ui/src/tests/message.test.ts:54
↓ 3 callers
Function
createApp
(name: string, description: string)
ui/src/tests/application.test.ts:60
↓ 3 callers
Function
createUser
(name: string, password: string, isAdmin: boolean)
ui/src/tests/user.test.ts:40
↓ 3 callers
Function
doShutdown
(shutdown chan<- error, err error)
runner/runner.go:70
↓ 3 callers
Method
expectUserIDWith
(user *model.User, tokenUserID, expectedID uint)
auth/util_test.go:42
↓ 3 callers
Function
generateRandomToken
(prefix string)
auth/token.go:57
↓ 3 callers
Method
initializeForUser
(user model.User)
plugin/manager.go:281
↓ 3 callers
Method
loginUser
()
api/user_test.go:432
↓ 3 callers
Method
newAppWithToken
(id uint, token string, internal bool)
test/testdb/database.go:104
↓ 3 callers
Method
newAppWithTokenAndName
(id uint, token, name string, internal bool)
test/testdb/database.go:135
↓ 3 callers
Method
noLogin
()
api/user_test.go:437
↓ 3 callers
Function
printWebSocketError
(prefix string, err error)
api/stream/client.go:110
↓ 3 callers
Function
randIntn
(n int)
auth/token.go:18
↓ 3 callers
Method
remove
(remove *client)
api/stream/stream.go:93
↓ 3 callers
Method
requireToken
(auth authenticate)
auth/authentication.go:143
↓ 3 callers
Function
serveFile
(name, contentType string, convert func(string) string)
ui/serve.go:50
↓ 3 callers
Function
switchSelctor
(id: number)
ui/src/tests/plugin.test.ts:37
↓ 3 callers
Function
toggleEnabled
(id: number)
ui/src/tests/plugin.test.ts:42
↓ 3 callers
Function
updateApp
(id: number, data: {name?: string; description?: string})
ui/src/tests/application.test.ts:41
↓ 3 callers
Function
validateOrderKey
(key string)
fracdex/fracdex.go:195
↓ 3 callers
Function
waitForCount
( page: Page, selector: string, amount: number )
ui/src/tests/utils.ts:33
↓ 3 callers
Function
writeError
(ctx *gin.Context, errString string)
error/handler.go:58
↓ 2 callers
Method
AppWithTokenAndDefaultPriority
AppWithTokenAndDefaultPriority creates an application with a token and defaultPriority and returns a message builder.
test/testdb/database.go:142
↓ 2 callers
Method
ChangePassword
ChangePassword changes the password from the current user swagger:operation POST /current/user/password user updateCurrentUser Update the password of
api/user.go:363
↓ 2 callers
Method
ClientWithToken
ClientWithToken creates a client with a token and returns itself.
test/testdb/database.go:154
↓ 2 callers
Method
DeleteMessagesByApplication
DeleteMessagesByApplication deletes all messages from an application.
database/message.go:84
↓ 2 callers
Method
DeleteMessagesByApplication
(applicationID uint)
api/message.go:25
↓ 2 callers
Method
DeleteMessagesByUser
(userID uint)
api/message.go:24
↓ 2 callers
Method
GetApplications
GetApplications returns all applications a user has. swagger:operation GET /application application getApps Return all applications. --- consumes:
api/application.go:137
↓ 2 callers
Method
GetApplicationsByUser
GetApplicationsByUser returns all applications from a user.
database/application.go:64
↓ 2 callers
Method
GetUserByID
(id uint)
plugin/manager.go:34
↓ 2 callers
Method
GetUserByName
(name string)
auth/authentication.go:22
↓ 2 callers
Method
HasInstance
HasInstance returns whether the given plugin ID has a corresponding instance.
plugin/manager.go:178
↓ 2 callers
Method
Health
Health returns health information. swagger:operation GET /health health getHealth Get health information. --- produces: [application/json] respon
api/health.go:34
↓ 2 callers
Method
InternalApp
InternalApp creates an internal application and returns a message builder.
test/testdb/database.go:71
↓ 2 callers
Function
New
New creates a new instance of API. pingPeriod: is the interval, in which is server sends the a ping to the client. pongTimeout: is the duration after
api/stream/stream.go:31
↓ 2 callers
Method
NotifyClose
NotifyClose closes the connection and notifies that the connection was closed.
api/stream/client.go:51
↓ 2 callers
Method
NotifyDeletedClient
NotifyDeletedClient closes existing connections with the given token.
api/stream/stream.go:67
↓ 2 callers
Method
RequireApplicationToken
RequireApplicationToken returns a gin middleware which requires an application token to be supplied with the request.
auth/authentication.go:78
↓ 2 callers
Method
UpdateApplication
(app *model.Application)
plugin/manager.go:36
↓ 2 callers
Method
UpdateApplicationTokenLastUsed
(token string, t *time.Time)
auth/authentication.go:25
↓ 2 callers
Function
ValidApplicationImageExt
(ext string)
api/application.go:474
↓ 2 callers
Method
app
(id uint, internal bool)
test/testdb/database.go:75
↓ 2 callers
Method
appWithTokenAndName
(id uint, token, name string, internal bool)
test/testdb/database.go:120
↓ 2 callers
Function
buildWithPaging
(ctx *gin.Context, paging *pagingParams, messages []*model.Message)
api/message.go:101
↓ 2 callers
Function
clearAll
()
ui/src/reactions.ts:11
↓ 2 callers
Function
createClient
(t *testing.T, url string)
api/stream/stream_test.go:546
↓ 2 callers
Function
createClient
(name: string)
ui/src/tests/client.test.ts:63
↓ 2 callers
Function
generateRandomString
(length int)
auth/token.go:61
↓ 2 callers
Function
getIntLen
(head byte)
fracdex/fracdex.go:174
↓ 2 callers
Function
handleApplicationError
(ctx *gin.Context, err error)
api/application.go:483
↓ 2 callers
Function
incrementInt
returns error if x is invalid, or if range is exceeded.
fracdex/fracdex.go:214
↓ 2 callers
Method
initializeSingleUserPlugin
(userCtx compat.UserContext, p compat.Plugin)
plugin/manager.go:315
↓ 2 callers
Function
label
(text: string)
ui/src/message/Messages.tsx:108
↓ 2 callers
Function
loadAll
()
ui/src/reactions.ts:22
↓ 2 callers
Method
makeDanglingPluginConf
(uid uint)
plugin/manager_test.go:109
↓ 2 callers
Method
mayExecute
()
api/stream/once.go:28
↓ 2 callers
Function
refreshFeatures
()
ui/src/plugin/PluginDetailView.tsx:28
↓ 2 callers
Method
removeFromList
(messages: IMessage[], messageToDelete: IMessage)
ui/src/message/MessagesStore.ts:171
↓ 2 callers
Function
requirePluginEnabled
(id uint, db Database)
plugin/pluginenabled.go:9
↓ 2 callers
Function
startListening
(connectionType, listenAddr string, port, keepAlive int)
runner/runner.go:79
↓ 2 callers
Function
startReading
(client *testingClient)
api/stream/stream_test.go:531
↓ 2 callers
Function
supportOrAbort
(ctx *gin.Context, instance compat.PluginInstance, module compat.Capability)
api/plugin.go:410
↓ 2 callers
Method
tokenFromQueryOrHeader
(ctx *gin.Context)
auth/authentication.go:98
↓ 2 callers
Function
umask
(_ int)
runner/umask_fallback.go:5
↓ 2 callers
Method
userFromBasicAuth
(ctx *gin.Context)
auth/authentication.go:132
↓ 2 callers
Function
validateInt
(i string)
fracdex/fracdex.go:163
↓ 2 callers
Function
withPaging
(ctx *gin.Context, f func(pagingParams *pagingParams))
api/message.go:122
↓ 2 callers
Function
withURL
(ctx *gin.Context, scheme, host string)
docs/swagger_test.go:28
↓ 1 callers
Method
APIVersion
()
plugin/compat/plugin.go:7
↓ 1 callers
Method
Close
Close closes the connection.
api/stream/client.go:43
↓ 1 callers
Method
DeleteApplicationByID
DeleteApplicationByID deletes an application by its id.
database/application.go:58
↓ 1 callers
Method
DeleteClientByID
DeleteClientByID deletes a client by its id.
database/client.go:52
↓ 1 callers
Method
DeleteMessages
DeleteMessages delete all messages from a user. swagger:operation DELETE /message message deleteMessages Delete all messages. --- produces: [appli
api/message.go:220
↓ 1 callers
Method
DeletePluginConfByID
DeletePluginConfByID deletes a plugin configuration by its id.
database/plugin.go:81
↓ 1 callers
Function
Float64Approx
Float64Approx converts a key as generated by KeyBetween() to a float64. Because the range of keys is far larger than float64 can represent accurately,
fracdex/fracdex.go:292
↓ 1 callers
Function
GenerateApplicationToken
GenerateApplicationToken generates an application token.
auth/token.go:38
↓ 1 callers
Function
GenerateClientToken
GenerateClientToken generates a client token.
auth/token.go:43
↓ 1 callers
Function
GenerateImageName
GenerateImageName generates an image name.
auth/token.go:53
↓ 1 callers
Method
GetApplicationByToken
(token string)
auth/authentication.go:19
↓ 1 callers
Method
GetApplicationByToken
(token string)
api/application.go:21
↓ 1 callers
Method
GetClients
GetClients returns all clients a user has. swagger:operation GET /client client getClients Return all clients. --- consumes: [application/json] p
api/client.go:179
↓ 1 callers
Method
GetClientsByUser
GetClientsByUser returns all clients from a user.
database/client.go:42
↓ 1 callers
Method
GetCurrentUser
GetCurrentUser returns the current user swagger:operation GET /current/user user currentUser Return the current user. --- produces: [application/j
api/user.go:124
↓ 1 callers
Method
GetPluginConfByUser
GetPluginConfByUser gets plugin configurations from a user.
database/plugin.go:9
↓ 1 callers
Method
GetPlugins
GetPlugins returns all plugins a user has. swagger:operation GET /plugin plugin getPlugins Return all plugins. --- consumes: [application/json] p
api/plugin.go:63
↓ 1 callers
Method
GetStorage
GetStorage sets current storage
plugin/testing/mock/mock.go:110
↓ 1 callers
Method
GetUserByID
(id uint)
auth/authentication.go:23
↓ 1 callers
Method
GetUsers
()
plugin/manager.go:26
↓ 1 callers
Method
InternalAppWithToken
InternalAppWithToken creates an internal application with a token and returns a message builder.
test/testdb/database.go:85
↓ 1 callers
Method
InternalAppWithTokenAndName
InternalAppWithTokenAndName creates an internal application with a token and name and returns a message builder.
test/testdb/database.go:116
↓ 1 callers
Function
NKeysBetween
NKeysBetween returns n keys between a and b that sorts lexicographically. Either a or b can be empty strings. If a is empty it indicates smallest key,
fracdex/fracdex.go:340
↓ 1 callers
Method
NewAppWithTokenAndName
NewAppWithTokenAndName creates an application with a token and name and returns the app.
test/testdb/database.go:126
↓ 1 callers
Method
NewInternalAppWithToken
NewInternalAppWithToken creates an internal application with a token and returns the app.
test/testdb/database.go:100
↓ 1 callers
Method
NewInternalAppWithTokenAndName
NewInternalAppWithTokenAndName creates an internal application with a token and name and returns the app.
test/testdb/database.go:131
↓ 1 callers
Function
NotFound
NotFound creates a gin middleware for handling page not found.
error/notfound.go:11
← previous
next →
201–300 of 910, ranked by callers