open-consul/agent/consul/rate/handler_oss.go

22 lines
364 B
Go
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//go:build !consulent
// +build !consulent
package rate
2023-05-15 17:49:43 +00:00
type IPLimitConfig struct{}
func (h *Handler) UpdateIPConfig(cfg IPLimitConfig) {
// noop
}
2023-05-15 17:49:43 +00:00
func (h *Handler) ipGlobalLimit(op Operation) *limit {
return nil
}
func (h *Handler) ipCategoryLimit(op Operation) *limit {
return nil
}