github.com/sandwich-go/boost@v1.3.29/xchan/option.go (about)

     1  package xchan
     2  
     3  //go:generate optionGen  --option_return_previous=false
     4  func OptionsOptionDeclareWithDefault() interface{} {
     5  	return map[string]interface{}{
     6  		"CallbackOnBufCount": int64(0),
     7  		"Callback":           (func(bufCount int64))(nil),
     8  	}
     9  }