Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.2.2
type Handler ¶ added in v0.2.2
type Handler struct { Port string Protocol string Config *Config ConnNumber uint64 DeniedConnNumb uint64 Run bool // contains filtered or unexported fields }
the struct that keep info about "microprogramm" that listen the port
func NewHandler ¶ added in v0.2.2
func NewHandler(protocol, port string, db *ipdb.IPDB, hconf map[string]interface{}, logDir string) (*Handler, error)
the struct that keep info about "microprogramm" that listen the port
func (*Handler) UpdateConfig ¶ added in v0.2.2
Click to show internal directories.
Click to hide internal directories.