syntax = "proto3";
option go_package = "data/";

message user{
    string name = 1;
    string password = 2;
    fixed64 timestamp = 3;
}

message token{
    string name = 1;
    string token = 2;
    fixed64 timestamp = 3;
    fixed64 expiration_time  = 4;
}

message passwd{
    string name = 1;
    string old_password = 2;
    string new_password = 3;
}