1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

add 'Context.IsSSL() bool'

Former-commit-id: 494394ecb3a44dc69d95893eae024efff0ff3612
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-06-11 16:08:35 +03:00
parent 9f4f4a2f49
commit d304086c32
4 changed files with 53 additions and 2 deletions

View File

@@ -123,6 +123,8 @@ type ConfigurationReadOnly interface {
//
// Look `context.RemoteAddr()` for more.
GetRemoteAddrPrivateSubnets() []netutil.IPRange
// GetSSLProxyHeaders returns the SSLProxyHeaders field.
GetSSLProxyHeaders() map[string]string
// GetOther returns the configuration.Other map.
GetOther() map[string]interface{}
}