github.com/traefik/yaegi@v0.15.1/stdlib/go1_20_os_signal.go (about)

     1  // Code generated by 'yaegi extract os/signal'. DO NOT EDIT.
     2  
     3  //go:build go1.20
     4  // +build go1.20
     5  
     6  package stdlib
     7  
     8  import (
     9  	"os/signal"
    10  	"reflect"
    11  )
    12  
    13  func init() {
    14  	Symbols["os/signal/signal"] = map[string]reflect.Value{
    15  		// function, constant and variable definitions
    16  		"Ignore":        reflect.ValueOf(signal.Ignore),
    17  		"Ignored":       reflect.ValueOf(signal.Ignored),
    18  		"Notify":        reflect.ValueOf(signal.Notify),
    19  		"NotifyContext": reflect.ValueOf(signal.NotifyContext),
    20  		"Reset":         reflect.ValueOf(signal.Reset),
    21  		"Stop":          reflect.ValueOf(signal.Stop),
    22  	}
    23  }