/
githubmirror
/
photoprism
Обзор
Документация
Войти
/
githubmirror
/
photoprism
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
pkg/clean/ip.go
10 строк
252 B
Michael Mayer
Pkg: Move /service/http/... to /http/... and add package /http/dns
19 окт 2025, 22:08
19 окт 2025, 22:08
a921f82
Код
Авторство
О чём код?
package clean import ( "github.com/photoprism/photoprism/pkg/http/header" ) // IP returns the sanitized and normalized network address if it is valid, or the default otherwise. func IP(s, defaultIp string) string { return header.IP(s, defaultIp) }