func GetAPIUrl(service string) string {
	port := Config().Rabbit.Port
	apiURL := fmt.Sprintf("http://%s:%s/api/%s", Config().Rabbit.Host, strconv.Itoa(port), service)
	return apiURL
}
GetAPIUrl return the RabbitMQ api url
package g
import (
	"fmt"
	"io/ioutil"
	"net"
	"net/http"
	"strconv"
	"time"
)
func GetHost() string {
	return Config().Hostname
}