1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-22 20:37:05 +00:00
Former-commit-id: d8dd7c426dc9f14c870f103fef703595a2915612
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-01-20 05:17:31 +02:00
parent a4ff39df65
commit e176ff7b0c
15 changed files with 384 additions and 24 deletions

View File

@@ -195,8 +195,8 @@ func ResolvePort(addr string) int {
return 80
}
// ResolveScheme returns "https://" if "isTLS" receiver is true,
// otherwise "http://".
// ResolveScheme returns "https" if "isTLS" receiver is true,
// otherwise "http".
func ResolveScheme(isTLS bool) string {
if isTLS {
return SchemeHTTPS