mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-01-10 04:18:14 +02:00
12 lines
224 B
Go
12 lines
224 B
Go
package ip
|
|
|
|
import (
|
|
"net"
|
|
"net/http"
|
|
)
|
|
|
|
// RealClientIPParser is an interface for a getting the client's real IP to be used for logging.
|
|
type RealClientIPParser interface {
|
|
GetRealClientIP(http.Header) (net.IP, error)
|
|
}
|