Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DurationSeconds (0.06 sec)

  1. cmd/admin-handlers-users.go

    	if exp == nil || exp.IsZero() || exp.Equal(timeSentinel) {
    		return nil
    	}
    	dur := exp.Sub(time.Now())
    	if dur <= 0 {
    		return errors.New("unsupported expiration time")
    	}
    	condValues["DurationSeconds"] = []string{strconv.FormatInt(int64(dur.Seconds()), 10)}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top