create
This commit is contained in:
7
observer/observer.go
Normal file
7
observer/observer.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package observer
|
||||
|
||||
type Observer interface {
|
||||
Add(id string, chan interface{})
|
||||
Remove(id string)
|
||||
Notify(id string, arg interface{})
|
||||
}
|
||||
Reference in New Issue
Block a user