switch to using the timestamp time instead of a string

This commit is contained in:
Joey Hines 2025-10-19 13:15:09 -06:00
parent 6b0d42d322
commit 624da6094d
Signed by: joeyahines
GPG Key ID: 38BA6F25C94C9382
3 changed files with 5 additions and 3 deletions

2
Cargo.lock generated
View File

@ -740,7 +740,7 @@ checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
[[package]] [[package]]
name = "tap-interface" name = "tap-interface"
version = "0.2.0" version = "1.0.0"
dependencies = [ dependencies = [
"prost", "prost",
"prost-types", "prost-types",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "tap-interface" name = "tap-interface"
version = "0.2.0" version = "1.0.0"
edition = "2024" edition = "2024"
description = "Protobuf definitions for TAP" description = "Protobuf definitions for TAP"
authors = ["Joey Hines joey@ahines.net"] authors = ["Joey Hines joey@ahines.net"]

View File

@ -1,5 +1,7 @@
syntax = "proto3"; syntax = "proto3";
import "google/protobuf/timestamp.proto";
package tap.service; package tap.service;
message SessionKeyReq { message SessionKeyReq {
@ -9,7 +11,7 @@ message SessionKeyReq {
message SessionKeyResp { message SessionKeyResp {
uint64 user_id = 1; uint64 user_id = 1;
bytes session_key = 2; bytes session_key = 2;
string expiration_time = 3; google.protobuf.Timestamp expiration_time = 3;
} }
service TAP { service TAP {