Versions in this module Expand all Collapse all v1 v1.3.4 Oct 16, 2023 Changes in this version + func New(ctx context.Context, next http.Handler, config *Config, name string) (http.Handler, error) + type CFVisitorHeader struct + Scheme string + type Config struct + DisableDefaultCFIPs bool + TrustIP []string + func CreateConfig() *Config + type RealIPOverWriter struct + TrustIP []*net.IPNet + func (r *RealIPOverWriter) ServeHTTP(rw http.ResponseWriter, req *http.Request) + type TrustResult struct