expr := proto.TimeSinceEpoch(time.Now().Add(180 * 24 * time.Hour).Unix()) page.MustSetCookies(&proto.NetworkCookieParam{ Name: "cookiename", Value: "value", Domain: ".hostname.com", HTTPOnly: false, Expires: expr, })
标签:proto,expr,rod,cookie,time,go From: https://www.cnblogs.com/angdh/p/17111323.html