Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Host = "127.0.0.1:8383/"
Functions ¶
This section is empty.
Types ¶
type BroadcastMsg ¶
type OraclePool ¶
type OraclePool struct { Connections map[string]*SafeConnection SubscribeChan chan *SubscribeMsg UnsubscribeChan chan *UnsubscribeMsg Subscribers []*SubscribeMsg // contains filtered or unexported fields }
func NewOraclePool ¶
func NewOraclePool() *OraclePool
type ResponseMsg ¶
type SafeConnection ¶
type SubscribeMsg ¶
type SubscribeMsg struct { VM int Url string OracleKey string Index int BroadcastChan chan *BroadcastMsg }
type UnsubscribeMsg ¶
type UnsubscribeMsg struct {
VM int
}
Click to show internal directories.
Click to hide internal directories.