mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
1. import fix
2. missing return values fix
This commit is contained in:
parent
50502984ba
commit
79c25f398c
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue