Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PushBlockFlag = true PushRawBlockFlag = true PushBlockTxsFlag = true PushNewTxsFlag = true )
Functions ¶
func SendBlock2WSclient ¶
func SendBlock2WSclient(v interface{})
func SendTx2Client ¶ added in v0.3.1
func SendTx2Client(v interface{})
Types ¶
type Server ¶ added in v0.3.1
type Server struct { sync.RWMutex *http.Server net.Listener websocket.Upgrader // contains filtered or unexported fields }
func (*Server) Handler ¶ added in v0.3.1
func (s *Server) Handler(w http.ResponseWriter, r *http.Request)
func (*Server) IsValidMsg ¶ added in v0.3.1
func (*Server) PushResult ¶ added in v0.3.1
Click to show internal directories.
Click to hide internal directories.