Documentation ¶
Index ¶
Constants ¶
View Source
const SwapProtocol protocol.ID = "/SwapProtocol/1.0.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WireService ¶
type WireService struct {
// contains filtered or unexported fields
}
func NewWireService ¶
func NewWireService(msgChan chan interface{}, orderBook *ob.OrderBook, peerHost host.Host) *WireService
func (*WireService) SendMessage ¶
func (ws *WireService) SendMessage(peer peer.ID, pmes *pb.Message) error
func (*WireService) SendRequest ¶
Click to show internal directories.
Click to hide internal directories.