Skip to content

Commit

Permalink
feat(auth): Add Session.LocalAddr andeya#70
Browse files Browse the repository at this point in the history
Change-Id: Ie5fc47ee3efe9cbd8526389714e964c67a2a83c3
  • Loading branch information
andeya committed Oct 28, 2019
1 parent 2165be0 commit 4c7cf3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ type (
Peer() tp.Peer
// SetID sets the session id.
SetID(newID string)
// LocalAddr returns the local network address.
LocalAddr() net.Addr
// RemoteAddr returns the remote network address.
RemoteAddr() net.Addr
// Swap returns custom data swap of the session(socket).
Expand Down

0 comments on commit 4c7cf3a

Please sign in to comment.