mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-19 14:08:10 -07:00
Track client access time.
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
"net"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Client struct {
|
||||
@@ -20,6 +21,7 @@ type Client struct {
|
||||
wallOps bool
|
||||
server *Server
|
||||
channels ChannelSet
|
||||
atime time.Time
|
||||
}
|
||||
|
||||
type ClientSet map[*Client]bool
|
||||
|
||||
Reference in New Issue
Block a user