swarm/api/http: docs

This commit is contained in:
Jeffrey Wilcke 2017-01-04 10:20:19 +01:00
parent c4de45e15c
commit 6c017e171e

View file

@ -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