mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
server: add client registry with dashboard support (#5115)
This commit is contained in:
parent
bc378bcbec
commit
36718d88e4
59 changed files with 4150 additions and 1837 deletions
|
|
@ -281,11 +281,15 @@ func (svr *Service) login() (conn net.Conn, connector Connector, err error) {
|
|||
return
|
||||
}
|
||||
|
||||
hostname, _ := os.Hostname()
|
||||
|
||||
loginMsg := &msg.Login{
|
||||
Arch: runtime.GOARCH,
|
||||
Os: runtime.GOOS,
|
||||
Hostname: hostname,
|
||||
PoolCount: svr.common.Transport.PoolCount,
|
||||
User: svr.common.User,
|
||||
ClientID: svr.common.ClientID,
|
||||
Version: version.Full(),
|
||||
Timestamp: time.Now().Unix(),
|
||||
RunID: svr.runID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue