// AddWithKey adds a shutdown hook
// with provided identificator (key).
AddWithKey adds a shutdown hook
with provided identificator (key).
// AddWithKey adds a shutdown hook // with provided identificator ( key ) .
func (s *Shutdown) AddWithKey(key string, fn func()) {
	s.AddWithKeyWithParam(key, func(os.Signal) {
		fn()
	})
}
func ( s * Shutdown ) AddWithKey ( key string , fn func ( ) ) { s . AddWithKeyWithParam ( key , func ( os . Signal ) { fn ( ) } ) }
AddWithKey adds a shutdown hook
with provided identificator (key).
AddWithKey adds a shutdown hook with provided identificator ( key ) .