Skip to content
Permalink
Browse files

Added test for protocol

  • Loading branch information...
tubackkhoa committed Jan 10, 2019
1 parent 097b132 commit d6afb2b7395fc4bc822d744705fb07505227e787
Showing with 378 additions and 198 deletions.
  1. BIN .DS_Store
  2. +0 −195 OrderBook/common/protocol.go
  3. +3 −3 OrderBook/protocol/protocol.go
  4. +375 −0 OrderBook/protocol/protocol_test.go
BIN +0 Bytes (100%) .DS_Store
Binary file not shown.

This file was deleted.

Oops, something went wrong.
@@ -15,9 +15,9 @@ import (

var (
OrderbookProtocol = &protocols.Spec{
Name: demo.FooProtocolName,
Version: demo.FooProtocolVersion,
MaxMsgSize: demo.FooProtocolMaxMsgSize,
Name: "Orderbook",
Version: 42,
MaxMsgSize: 1024,
Messages: []interface{}{
&OrderbookHandshake{}, &OrderbookMsg{},
},
Oops, something went wrong.

0 comments on commit d6afb2b

Please sign in to comment.
You can’t perform that action at this time.