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
0ae205dd
Commit
0ae205dd
authored
Dec 31, 2018
by
vipwzw
Browse files
Options
Browse Files
Download
Plain Diff
proto merge
parents
bcdffcf1
17ca4b4b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
31 deletions
+35
-31
types.go
plugin/dapp/js/rpc/types.go
+0
-1
js.pb.go
plugin/dapp/js/types/jsproto/js.pb.go
+35
-30
No files found.
plugin/dapp/js/rpc/types.go
View file @
0ae205dd
...
@@ -3,7 +3,6 @@ package rpc
...
@@ -3,7 +3,6 @@ package rpc
import
(
import
(
ptypes
"github.com/33cn/chain33/plugin/dapp/js/types"
ptypes
"github.com/33cn/chain33/plugin/dapp/js/types"
rpctypes
"github.com/33cn/chain33/rpc/types"
rpctypes
"github.com/33cn/chain33/rpc/types"
"github.com/33cn/chain33/types"
)
)
type
channelClient
struct
{
type
channelClient
struct
{
...
...
plugin/dapp/js/types/jsproto/js.pb.go
View file @
0ae205dd
...
@@ -3,9 +3,12 @@
...
@@ -3,9 +3,12 @@
package
jsproto
package
jsproto
import
proto
"github.com/golang/protobuf/proto"
import
(
import
fmt
"fmt"
fmt
"fmt"
import
math
"math"
math
"math"
proto
"github.com/golang/protobuf/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
proto
.
Marshal
...
@@ -31,16 +34,17 @@ func (m *Create) Reset() { *m = Create{} }
...
@@ -31,16 +34,17 @@ func (m *Create) Reset() { *m = Create{} }
func
(
m
*
Create
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
Create
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Create
)
ProtoMessage
()
{}
func
(
*
Create
)
ProtoMessage
()
{}
func
(
*
Create
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
Create
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
js_25eaf89ab172ea83
,
[]
int
{
0
}
return
fileDescriptor_
d11539bc790542aa
,
[]
int
{
0
}
}
}
func
(
m
*
Create
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
Create
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Create
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_Create
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
Create
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
Create
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Create
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_Create
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
dst
*
Create
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
m
*
Create
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Create
.
Merge
(
dst
,
src
)
xxx_messageInfo_Create
.
Merge
(
m
,
src
)
}
}
func
(
m
*
Create
)
XXX_Size
()
int
{
func
(
m
*
Create
)
XXX_Size
()
int
{
return
xxx_messageInfo_Create
.
Size
(
m
)
return
xxx_messageInfo_Create
.
Size
(
m
)
...
@@ -79,16 +83,17 @@ func (m *Call) Reset() { *m = Call{} }
...
@@ -79,16 +83,17 @@ func (m *Call) Reset() { *m = Call{} }
func
(
m
*
Call
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
Call
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Call
)
ProtoMessage
()
{}
func
(
*
Call
)
ProtoMessage
()
{}
func
(
*
Call
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
Call
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
js_25eaf89ab172ea83
,
[]
int
{
1
}
return
fileDescriptor_
d11539bc790542aa
,
[]
int
{
1
}
}
}
func
(
m
*
Call
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
Call
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Call
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_Call
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
Call
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
Call
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Call
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_Call
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
dst
*
Call
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
m
*
Call
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Call
.
Merge
(
dst
,
src
)
xxx_messageInfo_Call
.
Merge
(
m
,
src
)
}
}
func
(
m
*
Call
)
XXX_Size
()
int
{
func
(
m
*
Call
)
XXX_Size
()
int
{
return
xxx_messageInfo_Call
.
Size
(
m
)
return
xxx_messageInfo_Call
.
Size
(
m
)
...
@@ -135,16 +140,17 @@ func (m *JsAction) Reset() { *m = JsAction{} }
...
@@ -135,16 +140,17 @@ func (m *JsAction) Reset() { *m = JsAction{} }
func
(
m
*
JsAction
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
JsAction
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
JsAction
)
ProtoMessage
()
{}
func
(
*
JsAction
)
ProtoMessage
()
{}
func
(
*
JsAction
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
JsAction
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
js_25eaf89ab172ea83
,
[]
int
{
2
}
return
fileDescriptor_
d11539bc790542aa
,
[]
int
{
2
}
}
}
func
(
m
*
JsAction
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
JsAction
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_JsAction
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_JsAction
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
JsAction
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
JsAction
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_JsAction
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_JsAction
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
dst
*
JsAction
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
m
*
JsAction
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_JsAction
.
Merge
(
dst
,
src
)
xxx_messageInfo_JsAction
.
Merge
(
m
,
src
)
}
}
func
(
m
*
JsAction
)
XXX_Size
()
int
{
func
(
m
*
JsAction
)
XXX_Size
()
int
{
return
xxx_messageInfo_JsAction
.
Size
(
m
)
return
xxx_messageInfo_JsAction
.
Size
(
m
)
...
@@ -318,22 +324,21 @@ func init() {
...
@@ -318,22 +324,21 @@ func init() {
proto
.
RegisterType
((
*
JsLog
)(
nil
),
"jsproto.JsLog"
)
proto
.
RegisterType
((
*
JsLog
)(
nil
),
"jsproto.JsLog"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"js.proto"
,
fileDescriptor_js_25eaf89ab172ea83
)
}
func
init
()
{
proto
.
RegisterFile
(
"js.proto"
,
fileDescriptor_d11539bc790542aa
)
}
var
fileDescriptor_js_25eaf89ab172ea83
=
[]
byte
{
var
fileDescriptor_d11539bc790542aa
=
[]
byte
{
// 215 bytes of a gzipped FileDescriptorProto
// 199 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x4c
,
0x8f
,
0xcf
,
0x4e
,
0x86
,
0x30
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x4c
,
0x8e
,
0xcd
,
0xae
,
0x82
,
0x30
,
0x10
,
0xc4
,
0x3f
,
0x90
,
0x7f
,
0x2e
,
0x51
,
0x93
,
0x9e
,
0x88
,
0x5e
,
0x4c
,
0xbd
,
0xe8
,
0x85
,
0x18
,
0x10
,
0x85
,
0x81
,
0xcb
,
0xdf
,
0x1d
,
0x72
,
0xaf
,
0x49
,
0x57
,
0xc4
,
0x95
,
0xc1
,
0x8d
,
0x6e
,
0x88
,
0x7c
,
0x02
,
0xe5
,
0x42
,
0x88
,
0xa7
,
0xbe
,
0xc1
,
0x5a
,
0x2a
,
0x91
,
0x54
,
0x6a
,
0x68
,
0x31
,
0xe1
,
0xc1
,
0x27
,
0x50
,
0x36
,
0x84
,
0x65
,
0xdf
,
0xa0
,
0xd6
,
0x6a
,
0x24
,
0x95
,
0x1a
,
0x5a
,
0x4c
,
0x78
,
0xed
,
0x4d
,
0x17
,
0x84
,
0xef
,
0xf6
,
0xeb
,
0xce
,
0x74
,
0x67
,
0x16
,
0xb2
,
0xc1
,
0x96
,
0x3f
,
0x93
,
0x7b
,
0xd3
,
0x81
,
0x80
,
0xbb
,
0xaf
,
0x73
,
0xbe
,
0xce
,
0x1c
,
0x88
,
0x1b
,
0x9d
,
0xbf
,
0x3a
,
0x65
,
0x71
,
0x86
,
0xa5
,
0x83
,
0x25
,
0x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xd7
,
0x82
,
0xcd
,
0x49
,
0x6c
,
0x06
,
0xf6
,
0x00
,
0x91
,
0x44
,
0xad
,
0x29
,
0x22
,
0xaf
,
0xae
,
0xb1
,
0x60
,
0xe5
,
0xd0
,
0x49
,
0x20
,
0x5b
,
0xf0
,
0x39
,
0x93
,
0x12
,
0x4f
,
0x24
,
0xc5
,
0xdf
,
0x22
,
0x0e
,
0x23
,
0x6a
,
0xdd
,
0x9c
,
0x04
,
0x89
,
0xec
,
0x1a
,
0x42
,
0xb7
,
0x50
,
0x5a
,
0x2c
,
0x42
,
0xb7
,
0x32
,
0x29
,
0x2b
,
0x87
,
0x62
,
0x48
,
0xfe
,
0xc1
,
0x33
,
0x03
,
0x5e
,
0x0b
,
0xa8
,
0x67
,
0x86
,
0x73
,
0xbc
,
0xa5
,
0x10
,
0xff
,
0xa2
,
0x9e
,
0x15
,
0xbf
,
0x83
,
0xb8
,
0xb5
,
0xef
,
0xa6
,
0xf7
,
0x8d
,
0x3a
,
0x04
,
0xc1
,
0x9b
,
0xc9
,
0x5e
,
0x5c
,
0x42
,
0x94
,
0x8f
,
0x9f
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0x35
,
0x74
,
0xf8
,
0x7f
,
0x81
,
0xe7
,
0x8f
,
0x84
,
0x36
,
0xbd
,
0xfc
,
0x05
,
0x00
,
0x00
,
0xff
,
0xff
,
0xdb
,
0x5c
,
0xc0
,
0x76
,
0x0e
,
0x01
,
0x00
,
0x00
,
0x0d
,
0xa5
,
0xc0
,
0x2b
,
0x01
,
0x00
,
0x00
,
}
}
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