Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
77f2d94f
Commit
77f2d94f
authored
Dec 27, 2016
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
7d1258c7
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
382 additions
and
4 deletions
+382
-4
t/neo/marshal.go
t/neo/marshal.go
+380
-0
t/neo/proto.go
t/neo/proto.go
+2
-4
No files found.
t/neo/marshal.go
View file @
77f2d94f
This diff is collapsed.
Click to expand it.
t/neo/proto.go
View file @
77f2d94f
...
@@ -36,7 +36,7 @@ const (
...
@@ -36,7 +36,7 @@ const (
READ_ONLY_ACCESS
READ_ONLY_ACCESS
)
)
type
ClusterState
int
type
ClusterState
int
32
const
(
const
(
// NOTE cluster states descriptions is in protocol.py
// NOTE cluster states descriptions is in protocol.py
RECOVERING
ClusterState
=
iota
RECOVERING
ClusterState
=
iota
...
@@ -77,7 +77,7 @@ const (
...
@@ -77,7 +77,7 @@ const (
CORRUPTED
//short: C
CORRUPTED
//short: C
)
)
type
LockState
int
type
LockState
int
32
const
(
const
(
NOT_LOCKED
LockState
=
iota
NOT_LOCKED
LockState
=
iota
GRANTED
GRANTED
...
@@ -541,7 +541,6 @@ type AnswerObjectHistory struct {
...
@@ -541,7 +541,6 @@ type AnswerObjectHistory struct {
Size
uint32
// PNumber
Size
uint32
// PNumber
}
}
}
}
/*
// All the following messages are for neoctl to admin node
// All the following messages are for neoctl to admin node
// Ask information about partition
// Ask information about partition
...
@@ -790,4 +789,3 @@ type NotifyReady struct {
...
@@ -790,4 +789,3 @@ type NotifyReady struct {
// replication
// replication
// TODO
// TODO
*/
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