Add link to Floodgap in example hello server
This commit is contained in:
parent
e01d34d7a2
commit
d5262b612a
|
@ -21,6 +21,15 @@ func index(w gopher.ResponseWriter, r *gopher.Request) {
|
||||||
Description: "foo",
|
Description: "foo",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
w.WriteItem(
|
||||||
|
gopher.Item{
|
||||||
|
Type: gopher.DIRECTORY,
|
||||||
|
Selector: "/",
|
||||||
|
Description: "Floodgap",
|
||||||
|
Host: "gopher.floodgap.com",
|
||||||
|
Port: 70,
|
||||||
|
},
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
func hello(w gopher.ResponseWriter, r *gopher.Request) {
|
func hello(w gopher.ResponseWriter, r *gopher.Request) {
|
||||||
|
|
Loading…
Reference in New Issue