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
↓ 1 callers
Method
NotifyDeletedUser
NotifyDeletedUser closes existing connections for the given user.
api/stream/stream.go:54
↓ 1 callers
Method
Optional
()
auth/authentication.go:170
↓ 1 callers
Method
Read
([]byte)
test/asserts.go:32
↓ 1 callers
Function
Register
Register registers the ui on the root path.
ui/serve.go:24
↓ 1 callers
Method
RequireAdmin
RequireAdmin returns a gin middleware which requires a client token or basic authentication header to be supplied with the request. Also the authentic
auth/authentication.go:37
↓ 1 callers
Function
Run
Run starts the http server and if configured a https server.
runner/runner.go:21
↓ 1 callers
Function
Serve
Serve serves the documentation.
docs/swagger.go:15
↓ 1 callers
Method
SetStorage
SetStorage sets current storage
plugin/testing/mock/mock.go:105
↓ 1 callers
Method
TriggerMessage
TriggerMessage triggers a test message
plugin/testing/mock/mock.go:168
↓ 1 callers
Function
UI
UI serves the swagger ui.
docs/ui.go:71
↓ 1 callers
Method
UpdatePluginConf
(p *model.PluginConf)
api/plugin.go:20
↓ 1 callers
Function
addTrailingSlashToPaths
(conf *Configuration)
config/config.go:78
↓ 1 callers
Function
applyLetsEncrypt
(s *http.Server, conf *config.Configuration)
runner/runner.go:117
↓ 1 callers
Function
buildGoExecutable
(filename: string)
ui/src/tests/setup.ts:106
↓ 1 callers
Function
buildGoPlugin
(filename: string, pluginPath: string)
ui/src/tests/setup.ts:99
↓ 1 callers
Function
clickByText
(page: Page, selector: string, text: string)
ui/src/tests/utils.ts:11
↓ 1 callers
Function
compileAllowedCORSOrigins
(allowedOrigins []string)
auth/cors.go:55
↓ 1 callers
Function
configFiles
()
config/config.go:60
↓ 1 callers
Function
contentType
(extras?: IMessageExtras)
ui/src/message/extras.ts:8
↓ 1 callers
Function
countClients
(a *API)
api/stream/stream_test.go:514
↓ 1 callers
Function
createDirectoryIfSqlite
(dialect, connection string)
database/database.go:133
↓ 1 callers
Method
createPluginConf
(instance compat.PluginInstance, info compat.Info, userID uint)
plugin/manager.go:399
↓ 1 callers
Function
decrementInt
(x string)
fracdex/fracdex.go:250
↓ 1 callers
Method
deleteImage
(id: number)
ui/src/application/AppStore.ts:39
↓ 1 callers
Function
deleteMessage
(message: IMessage)
ui/src/message/Messages.tsx:34
↓ 1 callers
Function
doShutdownOnSignal
(shutdown chan<- error)
runner/runner.go:63
↓ 1 callers
Function
exist
(path string)
api/application.go:458
↓ 1 callers
Method
expectTryUserIDWith
(user *model.User, tokenUserID uint, expectedID *uint)
auth/util_test.go:49
↓ 1 callers
Function
extract
(extras: IMessageExtras | undefined, key: string, path: string)
ui/src/message/extras.ts:15
↓ 1 callers
Function
fillMissingSortKeys
(db *gorm.DB)
database/database.go:100
↓ 1 callers
Method
fireUserAdded
(uid uint)
api/user.go:50
↓ 1 callers
Method
fireUserDeleted
(uid uint)
api/user.go:41
↓ 1 callers
Function
form
(dialogSelector: string)
ui/src/tests/selector.ts:11
↓ 1 callers
Function
generateNonExistingImageName
(imgDir string, gen func() string)
api/application.go:465
↓ 1 callers
Function
getDisplayer
()
ui/src/tests/plugin.test.ts:55
↓ 1 callers
Function
getNetworkAndAddr
(listenAddr string, port int)
runner/runner.go:93
↓ 1 callers
Function
getSwaggerJSON
(base string)
docs/swagger.go:23
↓ 1 callers
Function
handleImageUploadClick
(id: number)
ui/src/application/Applications.tsx:78
↓ 1 callers
Function
hasReceivedMessage
(title: RegExp, content: RegExp)
ui/src/tests/plugin.test.ts:57
↓ 1 callers
Function
headerIgnoreCase
(conf *config.Configuration, search string)
auth/cors.go:46
↓ 1 callers
Function
initAxios
(currentUser: CurrentUser, snack: SnackReporter)
ui/src/apiAuth.ts:5
↓ 1 callers
Function
initStores
()
ui/src/index.tsx:27
↓ 1 callers
Method
initializeConfigurerForSingleUserPlugin
(instance compat.PluginInstance, pluginConf *model.PluginConf)
plugin/manager.go:366
↓ 1 callers
Function
isThemeKey
(value: string | null)
ui/src/layout/theme.ts:3
↓ 1 callers
Function
newClient
(conn *websocket.Conn, userID uint, token string, onClose func(*client))
api/stream/client.go:32
↓ 1 callers
Function
newPluginDir
(plugins: string[])
ui/src/tests/setup.ts:22
↓ 1 callers
Function
newUpgrader
(allowedWebSocketOrigins []string)
api/stream/stream.go:207
↓ 1 callers
Function
pluginInfo
(className: string)
ui/src/tests/plugin.test.ts:52
↓ 1 callers
Function
priorityColor
(priority: number)
ui/src/message/Message.tsx:107
↓ 1 callers
Function
refreshConfigurer
()
ui/src/plugin/PluginDetailView.tsx:35
↓ 1 callers
Function
refreshDisplayer
()
ui/src/plugin/PluginDetailView.tsx:41
↓ 1 callers
Method
register
(client *client)
api/stream/stream.go:106
↓ 1 callers
Function
registerButton
()
ui/src/user/Login.tsx:24
↓ 1 callers
Function
registerReactions
(stores: StoreMapping)
ui/src/reactions.ts:7
↓ 1 callers
Function
renderContent
()
ui/src/message/Message.tsx:156
↓ 1 callers
Function
renderMessages
()
ui/src/message/Messages.tsx:93
↓ 1 callers
Method
requestDelete
(id: number)
ui/src/client/ClientStore.ts:16
↓ 1 callers
Function
requestPermission
()
ui/src/snack/browserNotification.ts:9
↓ 1 callers
Function
reverse
(values []string)
fracdex/fracdex.go:408
↓ 1 callers
Function
startGotify
(filename: string, port: number, pluginDir: string)
ui/src/tests/setup.ts:125
↓ 1 callers
Method
startReading
startWriteHandler starts listening on the client connection. As we do not need anything from the client, we ignore incoming messages. Leaves the loop
api/stream/client.go:61
↓ 1 callers
Method
startWriteHandler
startWriteHandler starts the write loop. The method has the following tasks: * ping the client in the interval provided as parameter * write messages
api/stream/client.go:81
↓ 1 callers
Function
testFilePath
()
ui/src/tests/setup.ts:81
↓ 1 callers
Function
testPluginDir
()
ui/src/tests/setup.ts:65
↓ 1 callers
Function
toInternalMessage
(msg *model.MessageExternal)
api/message.go:391
↓ 1 callers
Method
tokenFromAuthorizationHeader
(ctx *gin.Context)
auth/authentication.go:117
↓ 1 callers
Method
tokenFromQuery
(ctx *gin.Context)
auth/authentication.go:109
↓ 1 callers
Method
tokenFromXGotifyHeader
(ctx *gin.Context)
auth/authentication.go:113
↓ 1 callers
Function
uniq
(s []T)
api/stream/stream.go:171
↓ 1 callers
Function
unregister
()
ui/src/registerServiceWorker.ts:1
↓ 1 callers
Function
updateClient
(id: number, data: {name?: string})
ui/src/tests/client.test.ts:33
↓ 1 callers
Function
updateGinMode
()
mode/mode.go:32
↓ 1 callers
Function
validationErrorToText
(e validator.FieldError)
error/handler.go:43
↓ 1 callers
Function
waitForClient
(name: string, row: number)
ui/src/tests/client.test.ts:27
↓ 1 callers
Function
waitForGotify
(url: string)
ui/src/tests/setup.ts:87
↓ 1 callers
Method
withJSON
(value interface{})
api/application_test.go:670
Method
APIVersion
APIVersion returns the API version.
plugin/compat/v1.go:17
Method
APIVersion
APIVersion implements loader.PluginCompat
plugin/testing/mock/mock.go:39
Function
AddApplicationDialog
({fClose, fOnSubmit}: IProps)
ui/src/application/AddApplicationDialog.tsx:17
Function
AddClientDialog
({fClose, fOnSubmit}: IProps)
ui/src/client/AddClientDialog.tsx:15
Function
AddEditUserDialog
({ fClose, fOnSubmit, isEdit, name: initialName = '', admin: initialAdmin = false, }: IPro
ui/src/user/AddEditUserDialog.tsx:20
Method
AfterTest
(suiteName, testName string)
database/migration_test.go:41
Method
AfterTest
(suiteName, testName string)
database/database_test.go:34
Method
AfterTest
(suiteName, testName string)
test/testdb/database_test.go:35
Method
AfterTest
(string, string)
api/message_test.go:43
Method
AfterTest
(suiteName, testName string)
api/plugin_test.go:75
Method
AfterTest
(suiteName, testName string)
api/user_test.go:54
Method
AfterTest
(suiteName, testName string)
api/client_test.go:54
Method
AfterTest
(suiteName, testName string)
api/application_test.go:61
Method
AfterTest
(suiteName, testName string)
api/health_test.go:36
Method
AfterTest
(string, string)
router/router_test.go:50
Method
BeforeTest
(suiteName, testName string)
database/migration_test.go:23
Method
BeforeTest
(suiteName, testName string)
database/database_test.go:27
Method
BeforeTest
(suiteName, testName string)
auth/util_test.go:22
Method
BeforeTest
(suiteName, testName string)
test/testdb/database_test.go:30
Method
BeforeTest
(suiteName, testName string)
api/message_test.go:33
Method
BeforeTest
(suiteName, testName string)
api/plugin_test.go:38
Method
BeforeTest
(suiteName, testName string)
api/user_test.go:35
Method
BeforeTest
(suiteName, testName string)
api/client_test.go:38
Method
BeforeTest
(suiteName, testName string)
api/application_test.go:48
← previous
next →
301–400 of 910, ranked by callers