We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5356400 commit ec46e59Copy full SHA for ec46e59
enterprise/wsproxy/wsproxy.go
@@ -103,6 +103,9 @@ type Server struct {
103
cancel context.CancelFunc
104
}
105
106
+// New creates a new workspace proxy server. This requires a primary coderd
107
+// instance to be reachable and the correct authorization access token to be
108
+// provided. If the proxy cannot authenticate with the primary, this will fail.
109
func New(ctx context.Context, opts *Options) (*Server, error) {
110
if opts.PrometheusRegistry == nil {
111
opts.PrometheusRegistry = prometheus.NewRegistry()
0 commit comments