src/client/client.go
func (c *cachedLoader) MustGetBool(key string) bool {
	b, err := c.Get(key)
	if err != nil {
		panic(fmt.Sprintf("Could not fetch config (%s) %v", key, err))
	}
	var ret bool
	err = json.Unmarshal(b, &ret)
	if err != nil {
		panic(fmt.Sprintf("Could not unmarshal config (%s) %v", key, err))
	}
	return ret
}
func (c *cachedLoader) MustGetBool(key string) bool {
	b, err := c.Get(key)
	if err != nil {
		panic(fmt.Sprintf("Could not fetch config (%s) %v", key, err))
	}
	var ret bool
	err = json.Unmarshal(b, &ret)
	if err != nil {
		panic(fmt.Sprintf("Could not unmarshal config (%s) %v", key, err))
	}
	return ret
}
func ( c * cachedLoader ) MustGetBool ( key string ) bool { b , err := c . Get ( key ) if err != nil { panic ( fmt . Sprintf ( " " , key , err ) ) } var ret bool err = json . Unmarshal ( b , & ret ) if err != nil { panic ( fmt . Sprintf ( " " , key , err ) ) } return ret }
// MustGetBool fetches the config and parses it into a bool.  Panics on failure.
MustGetBool fetches the config and parses it into a bool . Panics on failure .