docs: extend docs
This commit is contained in:
parent
1d688d0263
commit
e8305cc7f1
@ -1,5 +0,0 @@
|
|||||||
//
|
|
||||||
// Package proxy implements a HTTP caching proxy for Node package registry (NPM).
|
|
||||||
// See https://github.com/emeralt/npm-cache-proxy/ for more information about proxy.
|
|
||||||
//
|
|
||||||
package proxy // import "https://github.com/emeralt/npm-cache-proxy/proxy"
|
|
@ -1,4 +1,8 @@
|
|||||||
package proxy
|
//
|
||||||
|
// Package proxy implements a HTTP caching proxy for Node package registry (NPM).
|
||||||
|
// See https://github.com/emeralt/npm-cache-proxy/ for more information about proxy.
|
||||||
|
//
|
||||||
|
package proxy // import "https://github.com/emeralt/npm-cache-proxy/proxy"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
@ -9,6 +9,7 @@ import (
|
|||||||
zap "go.uber.org/zap"
|
zap "go.uber.org/zap"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// ServerOptions provides configuration for Server method
|
||||||
type ServerOptions struct {
|
type ServerOptions struct {
|
||||||
ListenAddress string
|
ListenAddress string
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user