Service.parseError ultimately leads to an out of range error when the passed string doesn't match the expected format (see https://github.com/varlink/go/blob/master/varlink/service.go#L199). I suggest using net/url for parsing strings, where URI.Scheme can be used to check the supported protocols etc.
We are currently facing a bug in Podman (i.e., libpod) described here: https://github.com/projectatomic/libpod/issues/888
Service.parseError
ultimately leads to an out of range error when the passed string doesn't match the expected format (see https://github.com/varlink/go/blob/master/varlink/service.go#L199). I suggest usingnet/url
for parsing strings, whereURI.Scheme
can be used to check the supported protocols etc.