// AddWithParam adds a shutdown hook with signal parameter
// and returns hook identificator (key).
AddWithParam adds a shutdown hook with signal parameter
and returns hook identificator (key).
// AddWithParam adds a shutdown hook with signal parameter // and returns hook identificator ( key ) .
func (s *Shutdown) AddWithParam(fn func(os.Signal)) string {
	key := randomKey()
	s.AddWithKeyWithParam(key, fn)
	return key
}
func ( s * Shutdown ) AddWithParam ( fn func ( os . Signal ) ) string { key := randomKey ( ) s . AddWithKeyWithParam ( key , fn ) return key }
AddWithParam adds a shutdown hook with signal parameter
and returns hook identificator (key).
AddWithParam adds a shutdown hook with signal parameter and returns hook identificator ( key ) .