1. import fix

2. missing return values fix
This commit is contained in:
vadym 2022-10-28 18:16:43 +03:00
parent 50502984ba
commit 79c25f398c

View file

@ -6,7 +6,9 @@ package core
import (
"encoding/hex"
"errors"
"io"
"fmt"
"strconv"
"net"
"net/url"
@ -126,7 +128,7 @@ func (l *links) call(u *url.URL, sintf string) (linkInfo, error) {
default:
return errors.New("unknown call scheme: " + u.Scheme)
}
return nil
return info, nil
}
func (l *links) listen(u *url.URL, sintf string) (*Listener, error) {