/
githubmirror
/
photoprism
Обзор
Документация
Войти
/
githubmirror
/
photoprism
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
pkg/http/scheme/const.go
34 строки
705 B
Michael Mayer
CI: Apply Go linter recommendations to remaining "pkg/..." code #5330
22 ноя 2025, 18:14
22 ноя 2025, 18:14
149f5e5
Код
Авторство
О чём код?
package scheme // Type represents a URL scheme type. type Type = string const ( // File scheme. File Type = "file" // Data scheme. Data Type = "data" // Base64 scheme. Base64 Type = "base64" // Http scheme. Http Type = "http" // Https scheme. Https Type = "https" // Websocket scheme (secure). Websocket Type = "wss" // Unix scheme. Unix Type = "unix" // HttpUnix scheme. HttpUnix Type = "http+unix" // Unixgram scheme. Unixgram Type = "unixgram" // Unixpacket scheme. Unixpacket Type = "unixpacket" ) var ( // HttpsData lists allowed schemes (https, data). HttpsData = []string{Https, Data} // HttpsHttp lists allowed schemes (https, http). HttpsHttp = []string{Https, Http} )