mirror of
https://github.com/singchia/frontier.git
synced 2025-09-26 20:31:25 +08:00
fix bugs for edge and service manager
This commit is contained in:
@@ -48,13 +48,15 @@ type Edge interface {
|
||||
// Edge can manage streams from or to a Service
|
||||
Multiplexer
|
||||
|
||||
// Edge is a net.Listener
|
||||
// Edge is a net.Listener, actually it's wrapper of Multiplexer
|
||||
// The Accept is a wrapper for AccetpStream
|
||||
// The Addr is a wrapper for LocalAddr
|
||||
net.Listener
|
||||
|
||||
// Meta
|
||||
EdgeID() uint64
|
||||
|
||||
Close() error
|
||||
}
|
||||
|
||||
type Dialer func() (net.Conn, error)
|
||||
|
Reference in New Issue
Block a user