Remove unused var
parent
e1a4a74905
commit
b17a7cfa95
|
@ -1,7 +1,6 @@
|
||||||
package server
|
package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"heckel.io/ntfy/log"
|
"heckel.io/ntfy/log"
|
||||||
"heckel.io/ntfy/user"
|
"heckel.io/ntfy/user"
|
||||||
|
@ -47,10 +46,6 @@ const (
|
||||||
visitorEmailLimitBurstMax = 150
|
visitorEmailLimitBurstMax = 150
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
|
||||||
errVisitorLimitReached = errors.New("limit reached")
|
|
||||||
)
|
|
||||||
|
|
||||||
// visitor represents an API user, and its associated rate.Limiter used for rate limiting
|
// visitor represents an API user, and its associated rate.Limiter used for rate limiting
|
||||||
type visitor struct {
|
type visitor struct {
|
||||||
config *Config
|
config *Config
|
||||||
|
|
Loading…
Reference in New Issue