Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionProxy ¶
type ConnectionProxy struct {
// contains filtered or unexported fields
}
func NewConnectionProxy ¶
func NewConnectionProxy() *ConnectionProxy
func (*ConnectionProxy) AddListener ¶
func (pp *ConnectionProxy) AddListener(listener ConnectionProxyListener)
func (*ConnectionProxy) Notify ¶
func (pp *ConnectionProxy) Notify(event ConnectionProxyEvent)
func (*ConnectionProxy) RemoveListener ¶
func (pp *ConnectionProxy) RemoveListener(listener ConnectionProxyListener)
type ConnectionProxyEvent ¶
type ConnectionProxyEvent struct { Type string Payload interface{} }
func NewConnectionProxyEvent ¶
func NewConnectionProxyEvent(eventType string, payload interface{}) ConnectionProxyEvent
type ConnectionProxyListener ¶
type ConnectionProxyListener interface {
OnNotify(event ConnectionProxyEvent)
}
Click to show internal directories.
Click to hide internal directories.