Parse a CrowdSec/cscli duration into seconds.
Mirrors github.com/crowdsecurity/go-cs-lib/cstime: d (24h) is supported only as the first unit, must be an integer, and w is not supported.
github.com/crowdsecurity/go-cs-lib/cstime
d
w
Parse a CrowdSec/cscli duration into seconds.
Mirrors
github.com/crowdsecurity/go-cs-lib/cstime:d(24h) is supported only as the first unit, must be an integer, andwis not supported.