mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
23 lines
440 B
Go
23 lines
440 B
Go
package scheme
|
|
|
|
// Type represents a URL scheme type.
|
|
type Type = string
|
|
|
|
const (
|
|
File Type = "file"
|
|
Data Type = "data"
|
|
Base64 Type = "base64"
|
|
Http Type = "http"
|
|
Https Type = "https"
|
|
Websocket Type = "wss"
|
|
Unix Type = "unix"
|
|
HttpUnix Type = "http+unix"
|
|
Unixgram Type = "unixgram"
|
|
Unixpacket Type = "unixpacket"
|
|
)
|
|
|
|
var (
|
|
HttpsData = []string{Https, Data}
|
|
HttpsHttp = []string{Https, Http}
|
|
)
|