func (r *ServiceConfig) GetLimitsEnabled() bool {
	return r.LimitsEnabled
}
GetLimitsEnabled returns if limits are enabled
package configure
import (
	"fmt"
	"net"
	"github.com/sirupsen/logrus"
	log "github.com/sirupsen/logrus"
	"github.com/uber-common/bark"
	"github.com/uber/tchannel-go"
	"github.com/uber/tchannel-go/thrift"
)
type TChannelConfig struct {
	DisableHyperbahn bool `yaml:"disableHyperbahn"`
}
type ServiceConfig struct {
	Port                   int            `yaml:"Port"`
	ListenAddress          string         `yaml:"ListenAddress"`
	WebsocketPort          int            `yaml:"WebsocketPort"`
	RingHosts              string         `yaml:"RingHosts"`
	LimitsEnabled          bool           `yaml:"EnableLimits"`
	HyperbahnBootstrapFile string         `yaml:"HyperbahnBootstrapFile"`
	Metrics                *MetricsConfig `yaml:"Metrics"`
	TChannelConfig         TChannelConfig `yaml:"tchannel"`
}
func NewCommonServiceConfig() *ServiceConfig {
	return &ServiceConfig{
		Metrics: NewCommonMetricsConfig(),
	}
}
func (r *ServiceConfig) GetDynamicConfig() interface{} {
	return nil
}
func (r *ServiceConfig) GetRingHosts() string {
	return r.RingHosts
}
func (r *ServiceConfig) GetWebsocketPort() int {
	return r.WebsocketPort
}
func (r *ServiceConfig) GetMetricsConfig() interface{} {
	return r.Metrics
}