From 6c017e171ebf699a2953dad81e23fa8a4079c1b5 Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Wed, 4 Jan 2017 10:20:19 +0100 Subject: [PATCH] swarm/api/http: docs --- swarm/api/http/server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/swarm/api/http/server.go b/swarm/api/http/server.go index 0507d92154..c8e79ab4ec 100644 --- a/swarm/api/http/server.go +++ b/swarm/api/http/server.go @@ -55,6 +55,8 @@ type sequentialReader struct { lock sync.Mutex } +// Server is the basic configuration needs for the HTTP server and also +// includes CORS settings. type Server struct { Addr string CorsString string