mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 03:54:02 +03:00
Add rpc request/response for handshake
This commit is contained in:
+8
-1
@@ -1,5 +1,12 @@
|
||||
package rpc
|
||||
|
||||
import "bytes"
|
||||
|
||||
const (
|
||||
RPCNonceSeqNo = -2
|
||||
RPCHandshakeSeqNo = -1
|
||||
)
|
||||
|
||||
type RPC interface {
|
||||
Bytes() []byte
|
||||
Bytes() *bytes.Buffer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user