Skip to content

Commit

Permalink
add GetMetaData function to connection interface
Browse files Browse the repository at this point in the history
  • Loading branch information
owljoa committed Oct 13, 2018
1 parent 36df626 commit edfebbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ type Connection interface {
GetIP() Address
GetPeerKey() Key
GetID() ConnID
GetMetaData() map[string]string
Start() error
Handle(handler Handler)
}
Expand Down

0 comments on commit edfebbe

Please sign in to comment.