mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
swarm/api/http: docs
This commit is contained in:
parent
c4de45e15c
commit
6c017e171e
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ type sequentialReader struct {
|
||||||
lock sync.Mutex
|
lock sync.Mutex
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Server is the basic configuration needs for the HTTP server and also
|
||||||
|
// includes CORS settings.
|
||||||
type Server struct {
|
type Server struct {
|
||||||
Addr string
|
Addr string
|
||||||
CorsString string
|
CorsString string
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue