Documentation ¶
Index ¶
Constants ¶
View Source
const ( HOST = "http://127.0.0.1" PORT = "28902" MARCONID_ID = "18" )
Variables ¶
This section is empty.
Functions ¶
func RegisterForPeerUpdates ¶
Register to middleware for peer updates
func UnregisterForPeerUpdates ¶
func UnregisterForPeerUpdates() error
Unregister from middleware for peer updates
Types ¶
type SubscribeParams ¶
type SubscribeParams struct { Id string Port string NetworkContractAddress string PubKeyHash string }
func (SubscribeParams) GetParamsJsonString ¶
func (r SubscribeParams) GetParamsJsonString() string
Marshal SubscribeParams into JSON string format
type UnsubscribeParams ¶
type UnsubscribeParams struct {
Id string
}
func (UnsubscribeParams) GetParamsJsonString ¶
func (r UnsubscribeParams) GetParamsJsonString() string
Marshal UnsubscribeParams into JSON string format
Click to show internal directories.
Click to hide internal directories.