aboutsummaryrefslogtreecommitdiffstats
path: root/event
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-07-07 20:55:06 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-07-07 20:55:06 +0800
commit9e7d5d9d3b4ad686409fec7beb08792d38052a2c (patch)
tree30b1d1ddfb99e73c08125df3b9806eebff0506a6 /event
parent3016f238646510ed309b76d571addf381e341af4 (diff)
parentb2d18393c4287a348f3776d1ddf9bcd01758ba8a (diff)
downloaddexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar
dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.gz
dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.bz2
dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.lz
dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.xz
dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.zst
dexon-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.zip
Merge pull request #1426 from fjl/license
all: update license information and godoc comments
Diffstat (limited to 'event')
-rw-r--r--event/event.go16
-rw-r--r--event/event_test.go16
-rw-r--r--event/example_test.go16
-rw-r--r--event/filter/eth_filter.go16
-rw-r--r--event/filter/filter.go17
-rw-r--r--event/filter/filter_test.go16
-rw-r--r--event/filter/generic_filter.go16
7 files changed, 113 insertions, 0 deletions
diff --git a/event/event.go b/event/event.go
index 540fbba65..f2a3924c2 100644
--- a/event/event.go
+++ b/event/event.go
@@ -1,3 +1,19 @@
+// Copyright 2014 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
// Package event implements an event multiplexer.
package event
diff --git a/event/event_test.go b/event/event_test.go
index c7c0266c1..076d1e794 100644
--- a/event/event_test.go
+++ b/event/event_test.go
@@ -1,3 +1,19 @@
+// Copyright 2014 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
package event
import (
diff --git a/event/example_test.go b/event/example_test.go
index 2f47f6f27..5c8cb3236 100644
--- a/event/example_test.go
+++ b/event/example_test.go
@@ -1,3 +1,19 @@
+// Copyright 2014 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
package event
import "fmt"
diff --git a/event/filter/eth_filter.go b/event/filter/eth_filter.go
index b0d5078a2..da0da1334 100644
--- a/event/filter/eth_filter.go
+++ b/event/filter/eth_filter.go
@@ -1,3 +1,19 @@
+// Copyright 2014 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
package filter
// TODO make use of the generic filtering system
diff --git a/event/filter/filter.go b/event/filter/filter.go
index ca767f413..90bc4bd46 100644
--- a/event/filter/filter.go
+++ b/event/filter/filter.go
@@ -1,3 +1,20 @@
+// Copyright 2014 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
+// Package filter implements event filters.
package filter
import "reflect"
diff --git a/event/filter/filter_test.go b/event/filter/filter_test.go
index 534eb56d1..28a46d426 100644
--- a/event/filter/filter_test.go
+++ b/event/filter/filter_test.go
@@ -1,3 +1,19 @@
+// Copyright 2014 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
package filter
import (
diff --git a/event/filter/generic_filter.go b/event/filter/generic_filter.go
index 2ce0f0642..a5a60ee3d 100644
--- a/event/filter/generic_filter.go
+++ b/event/filter/generic_filter.go
@@ -1,3 +1,19 @@
+// Copyright 2014 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
package filter
type Generic struct {