CaddyModule returns the Caddy module information.
()
| 64 | |
| 65 | // CaddyModule returns the Caddy module information. |
| 66 | func (StaticIPRange) CaddyModule() caddy.ModuleInfo { |
| 67 | return caddy.ModuleInfo{ |
| 68 | ID: "http.ip_sources.static", |
| 69 | New: func() caddy.Module { return new(StaticIPRange) }, |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | func (s *StaticIPRange) Provision(ctx caddy.Context) error { |
| 74 | for _, str := range s.Ranges { |
nothing calls this directly
no outgoing calls
no test coverage detected