src/client/client.go
func (c *cachedLoader) MustGetDuration(key string) time.Duration {
	s := c.MustGetString(key)
	ret, err := time.ParseDuration(s)
	if err != nil {
		panic(fmt.Sprintf("Could not parse config (%s) into a duration: %v", key, err))
	}
	return ret
}
func (c *cachedLoader) MustGetDuration(key string) time.Duration {
	s := c.MustGetString(key)
	ret, err := time.ParseDuration(s)
	if err != nil {
		panic(fmt.Sprintf("Could not parse config (%s) into a duration: %v", key, err))
	}
	return ret
}
func ( c * cachedLoader ) MustGetDuration ( key string ) time . Duration { s := c . MustGetString ( key ) ret , err := time . ParseDuration ( s ) if err != nil { panic ( fmt . Sprintf ( " " , key , err ) ) } return ret }
// MustGetDuration fetches the config and parses it into a duration.  Panics on failure.
MustGetDuration fetches the config and parses it into a duration . Panics on failure .