Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
661f48a6
Commit
661f48a6
authored
Nov 08, 2018
by
linj
Committed by
linj
Nov 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add service
parent
e3dff3a2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
unfreeze.proto
proto/unfreeze.proto
+9
-4
unfreeze.pb.go
types/unfreeze.pb.go
+0
-0
No files found.
proto/unfreeze.proto
View file @
661f48a6
syntax
=
"proto3"
;
import
"common.proto"
;
package
types
;
message
Unfreeze
{
...
...
@@ -77,11 +79,13 @@ message ReceiptUnfreeze {
}
// query
message
QueryUnfreezeWithdraw
{
string
unfreezeID
=
1
;
}
message
ReplyQueryUnfreezeWithdraw
{
string
unfreezeID
=
1
;
int64
availableAmount
=
2
;
}
// TODO 类型应该大写还是小写
service
unfreeze
{
rpc
GetUnfreezeWithdraw
(
ReqString
)
returns
(
ReplyQueryUnfreezeWithdraw
)
{}
rpc
QueryUnfreeze
(
ReqString
)
returns
(
Unfreeze
)
{}
}
\ No newline at end of file
types/unfreeze.pb.go
View file @
661f48a6
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment