Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Hong (0.14 sec)

  1. internal/grid/connection.go

    }
    
    func (c *Connection) handlePong(ctx context.Context, m message) {
    	var pong pongMsg
    	_, err := pong.UnmarshalMsg(m.Payload)
    	PutByteBuffer(m.Payload)
    	gridLogIf(ctx, err)
    	if m.MuxID == 0 {
    		atomic.StoreInt64(&c.LastPong, time.Now().Unix())
    		return
    	}
    	if v, ok := c.outgoing.Load(m.MuxID); ok {
    		v.pong(pong)
    	} else {
    		// We don't care if the client was removed in the meantime,
    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