Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FloodChain ¶
type FloodChain struct {
NextChain Security
}
func (*FloodChain) Next ¶
func (f *FloodChain) Next(r Request)
Check if the user is flooding commands
type SecurityChain ¶
func (*SecurityChain) Execute ¶
func (s *SecurityChain) Execute()
Just call the Next method of the securityChain
func (*SecurityChain) Next ¶
func (s *SecurityChain) Next(r Request)
Check if the user is blocked If is not blocked continue, otherwise just finish the request
Click to show internal directories.
Click to hide internal directories.