A simple server for sending and receiving messages in real-time per WebSocket. (Includes a sleek web-ui)
103 matches across 1 category. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | config.example.yml | 21 | # Let's Encrypt highly recommend testing against their staging environment before using their production environ |
| LOW | ui/vite-env.d.ts | 1 | // Example: vite-env.d.ts |
| LOW | docs/package.go | 1 | // Package docs Gotify REST-API. |
| LOW | docs/package.go | 21 | // License: MIT https://github.com/gotify/server/blob/master/LICENSE |
| LOW | docs/package.go | 41 | // in: header |
| LOW | model/version.go | 1 | package model |
| LOW | model/error.go | 1 | package model |
| LOW | model/gotifyinfo.go | 1 | package model |
| LOW | model/user.go | 21 | // swagger:model User |
| LOW | model/user.go | 41 | // read only: true |
| LOW | model/user.go | 61 | // example: true |
| LOW | model/user.go | 81 | // If the user is an administrator. |
| LOW | model/user.go | 101 | ID uint `json:"id"` |
| LOW | model/user.go | 121 | // example: 5 |
| LOW | model/oidc.go | 1 | package model |
| LOW | model/oidc.go | 21 | // required: true |
| LOW | model/oidc.go | 41 | State string `json:"state"` |
| LOW | model/oidc.go | 61 | // required: true |
| LOW | model/pluginconf.go | 21 | // |
| LOW | model/pluginconf.go | 41 | Name string `json:"name"` |
| LOW | model/pluginconf.go | 61 | // read only: true |
| LOW | model/message.go | 21 | // |
| LOW | model/message.go | 41 | // The title of the message. |
| LOW | model/message.go | 61 | // |
| LOW | model/client.go | 1 | package model |
| LOW | model/client.go | 21 | // example: CWH0wZ5r0Mbac.r |
| LOW | model/health.go | 1 | package model |
| LOW | model/application.go | 1 | package model |
| LOW | model/application.go | 21 | // example: AWH0wZ5r0Mbac.r |
| LOW | model/application.go | 41 | // |
| LOW | model/application.go | 61 | // example: 2019-01-01T00:00:00Z |
| LOW | model/paging.go | 1 | package model |
| LOW | model/paging.go | 21 | // The ID of the last message returned in the current request. Use this as alternative to the next link. |
| LOW | model/paging.go | 41 | // |
| LOW | api/user.go | 61 | type UserAPI struct { |
| LOW | api/user.go | 81 | // schema: |
| LOW | api/user.go | 101 | } |
| LOW | api/user.go | 141 | if client != nil { |
| LOW | api/user.go | 161 | // consumes: [application/json] |
| LOW | api/user.go | 241 | // GetUserByID returns the user by id |
| LOW | api/user.go | 261 | // description: Ok |
| LOW | api/user.go | 301 | // --- |
| LOW | api/user.go | 361 | // Requires elevated authentication. |
| LOW | api/user.go | 401 | // UpdateUserByID updates and user by id |
| LOW | api/user.go | 421 | // description: the updated user |
| LOW | api/oidc.go | 101 | // --- |
| LOW | api/oidc.go | 141 | // parameters: |
| LOW | api/oidc.go | 181 | // --- |
| LOW | api/oidc.go | 261 | <body> |
| LOW | api/oidc.go | 281 | // in: body |
| LOW | api/oidc.go | 321 | // |
| LOW | api/message.go | 41 | |
| LOW | api/message.go | 61 | // minimum: 1 |
| LOW | api/message.go | 121 | func withPaging(ctx *gin.Context, f func(pagingParams *pagingParams)) { |
| LOW | api/message.go | 141 | // type: integer |
| LOW | api/message.go | 161 | // schema: |
| LOW | api/message.go | 201 | // swagger:operation DELETE /message message deleteMessages |
| LOW | api/message.go | 221 | successOrAbort(ctx, 500, a.DB.DeleteMessagesByUser(userID)) |
| LOW | api/message.go | 241 | // description: Ok |
| LOW | api/message.go | 281 | // - name: id |
| 43 more matches not shown… | |||