Add connection webhook notifications (#392)
Also * Added decode of LoginStart message * Add metrics backend constants * Updated usage section * Documented MaxFrameLength
This commit is contained in:
@@ -67,6 +67,10 @@ type ClientFilter struct {
|
||||
deny *addrMatcher
|
||||
}
|
||||
|
||||
func NewClientFilterAllowAll() *ClientFilter {
|
||||
return &ClientFilter{}
|
||||
}
|
||||
|
||||
// NewClientFilter provides a mechanism to evaluate client IP addresses and determine if
|
||||
// they should be allowed access or not.
|
||||
// The allows and denies can each or both be nil or netip.ParseAddr allowed values.
|
||||
|
||||
Reference in New Issue
Block a user