Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LoadInt64 (0.17 sec)

  1. internal/grid/connection.go

    	var wsw wsWriter
    	for {
    		var toSend []byte
    		select {
    		case <-ctx.Done():
    			return
    		case <-ping.C:
    			if c.State() != StateConnected {
    				continue
    			}
    			lastPong := atomic.LoadInt64(&c.LastPong)
    			if lastPong > 0 {
    				lastPongTime := time.Unix(lastPong, 0)
    				if d := time.Since(lastPongTime); d > connPingInterval*2 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
Back to top