Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
e17a6dd8
Commit
e17a6dd8
authored
Apr 24, 2017
by
Jeromy Johnson
Committed by
GitHub
Apr 24, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3873 from ipfs/deps/update/go-is-domain
deps: Update go-is-domain to contain new gTLD
parents
9dc5883a
fe969d18
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
core/corehttp/ipns_hostname.go
core/corehttp/ipns_hostname.go
+3
-2
namesys/dns.go
namesys/dns.go
+3
-3
package.json
package.json
+2
-2
No files found.
core/corehttp/ipns_hostname.go
View file @
e17a6dd8
package
corehttp
import
(
"context"
"net"
"net/http"
"strings"
"context"
"github.com/ipfs/go-ipfs/core"
isd
"gx/ipfs/QmaeHSCBd9XjXxmgHEiKkHtLcMCb2eZsPLKT7bHgBfBkqw/go-is-domain"
isd
"gx/ipfs/QmZmmuAXgX73UQmX1jRKjTGmjzq24Jinqkq8vzkBtno4uX/go-is-domain"
)
// IPNSHostnameOption rewrites an incoming request if its Host: header contains
...
...
namesys/dns.go
View file @
e17a6dd8
package
namesys
import
(
"context"
"errors"
"net"
"strings"
context
"context"
isd
"gx/ipfs/QmaeHSCBd9XjXxmgHEiKkHtLcMCb2eZsPLKT7bHgBfBkqw/go-is-domain"
path
"github.com/ipfs/go-ipfs/path"
isd
"gx/ipfs/QmZmmuAXgX73UQmX1jRKjTGmjzq24Jinqkq8vzkBtno4uX/go-is-domain"
)
type
LookupTXTFunc
func
(
name
string
)
(
txt
[]
string
,
err
error
)
...
...
package.json
View file @
e17a6dd8
...
...
@@ -172,9 +172,9 @@
},
{
"author"
:
"jbenet"
,
"hash"
:
"Qm
aeHSCBd9XjXxmgHEiKkHtLcMCb2eZsPLKT7bHgBfBkqw
"
,
"hash"
:
"Qm
ZmmuAXgX73UQmX1jRKjTGmjzq24Jinqkq8vzkBtno4uX
"
,
"name"
:
"go-is-domain"
,
"version"
:
"1.0.
0
"
"version"
:
"1.0.
1
"
},
{
"author"
:
"whyrusleeping"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment