提交 6338cac2 作者: verokarhu

added comment to exported function

上级 e4941069
......@@ -13,6 +13,7 @@ type ipfsHandler struct {
node *core.IpfsNode
}
// Serve starts the http server
func Serve(address string, node *core.IpfsNode) error {
r := mux.NewRouter()
r.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { ipfsPostHandler(w, r, node) }).Methods("POST")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论