app-starlock/lib/talk/starChart/proto/talk_request.proto

17 lines
331 B
Protocol Buffer
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 对讲呼叫请求
syntax = "proto3";
package main;
option go_package = "./spb/talk";
message TalkReq {
// 呼叫方类型门锁、APP
enum CallerTypeE {
Lock = 0;
App = 1;
}
CallerTypeE CallerType = 1;
// 呼叫方名称,可能是用户名或者锁名称
string CallerName = 2;
}