- 这个项目仅仅是给 odin 生成授权码。
service Authorization {
rpc Resolved (Cipher) returns (SerialNum); // 解析序列号
rpc Authorized (AuthReq) returns (AuthResp); // 授权
rpc Untied (UntiedReq) returns (Cipher); // 解绑
rpc Cleared (Cipher) returns (Clear); // 清除
}
go get github.com/offer365/edda
cd $GOPATH/src/github.com/offer365/edda
go build
./edda
# 或 -l 指定监听端口
./edda -l 4567