func CreateHandlerRegister() *HandlerRegister {
	return &HandlerRegister{
		hmap: make(map[int][]*HandlerWrapper),
	}
}
CreateHandlerRegister: create handler register
package wxweb
import (
	"fmt"
	"sync"
)
type Handler func(*Session, *ReceivedMessage)
type HandlerWrapper struct {
	handle  Handler
	enabled bool
	name    string
}
func (s *HandlerWrapper) Run(session *Session, msg *ReceivedMessage) {
	if s.enabled {
		s.handle(session, msg)
	}
}
func (s *HandlerWrapper) getName() string {
	return s.name
}
func (s *HandlerWrapper) GetName() string {
	return s.name
}
func (s *HandlerWrapper) GetEnabled() bool {
	return s.enabled
}
func (s *HandlerWrapper) enableHandle() {
	s.enabled = true
	return
}
func (s *HandlerWrapper) disableHandle() {
	s.enabled = false
	return
}
type HandlerRegister struct {
	mu   sync.RWMutex
	hmap map[int][]*HandlerWrapper
}