Files
photoprism/pkg/http/scheme/const.go
2025-10-19 21:08:48 +02:00

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}
)