Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addToken (0.05 sec)

  1. internal/grid/connection.go

    			retry(err)
    			continue
    		}
    		// Send connect message.
    		m := message{
    			Op: OpConnect,
    		}
    		req := connectReq{
    			Host: c.Local,
    			ID:   c.id,
    			Time: time.Now(),
    		}
    		req.addToken(c.authFn)
    		err = c.sendMsg(conn, m, &req)
    		if err != nil {
    			retry(err)
    			continue
    		}
    		// Wait for response
    		var r connectResp
    		err = c.receive(conn, &r)
    		if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top