Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ws-daemon/pkg/netlimit/config.go
2499 views
1
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
package netlimit
6
7
type Config struct {
8
Enabled bool `json:"enabled"`
9
Enforce bool `json:"enforce"`
10
ConnectionsPerMinute int64 `json:"connectionsPerMinute"`
11
BucketSize int64 `json:"bucketSize"`
12
}
13
14