func NewServer(auth Authenticate, log *log.Logger, ll LogLevel) Server {

	server := &server{
		auth:       auth,
		topics:     newTopic(nil, ""),
		sessions:   make(map[string]*Client),
		log:        log,
		LogLevel:   ll,
		MaxPending: MaxPending,
	}

	return server
}
// NewServer creates a new server.
NewServer creates a new server.
// NewServer creates a new server .
func NewServer(auth Authenticate, log *log.Logger, ll LogLevel) Server {
	server := &server{
		auth:       auth,
		topics:     newTopic(nil, ""),
		sessions:   make(map[string]*Client),
		log:        log,
		LogLevel:   ll,
		MaxPending: MaxPending,
	}
	return server
}
func NewServer ( auth Authenticate , log * log . Logger , ll LogLevel ) Server { server := & server { auth : auth , topics : newTopic ( nil , " " ) , sessions : make ( map [ string ] * Client ) , log : log , LogLevel : ll , MaxPending : MaxPending , } return server }
NewServer creates a new server.
NewServer creates a new server .