Skip to content

Commit 15b7072

Browse files
committed
add comment
1 parent 1311434 commit 15b7072

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

p2p/http/libp2phttp.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,11 @@ type Host struct {
153153
// HTTP requests over TCP.
154154
InsecureAllowHTTP bool
155155

156-
// ServerPeerIDAuth TODO add comment
156+
// ServerPeerIDAuth sets the Server's signing key and TTL for server
157+
// provided tokens.
157158
ServerPeerIDAuth *httpauth.ServerPeerIDAuth
158-
// ClientPeerIDAuth TODO add comment
159+
// ClientPeerIDAuth sets the Client's signing key and TTL for our stored
160+
// tokens.
159161
ClientPeerIDAuth *httpauth.ClientPeerIDAuth
160162

161163
// ServeMux is the http.ServeMux used by the server to serve requests. If

0 commit comments

Comments
 (0)