mirror of
https://github.com/vlang/v.git
synced 2025-09-14 15:02:33 +03:00
time: turn Time.unix to i64, so it can represent times before 1970-01-01, fix time operators, add more tests (#11050)
This commit is contained in:
parent
1bf6d04e37
commit
efa8dcf4d2
15 changed files with 107 additions and 40 deletions
|
@ -38,7 +38,7 @@ pub mut:
|
|||
state State // current state of connection
|
||||
logger &log.Log // logger used to log messages
|
||||
resource_name string // name of current resource
|
||||
last_pong_ut u64 // last time in unix time we got a pong message
|
||||
last_pong_ut i64 // last time in unix time we got a pong message
|
||||
}
|
||||
|
||||
// Flag represents different types of headers in websocket handshake
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue