Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Bye = Msg{Type: "bye"}
View Source
var Completed = func(PbftPoolCsv []PbftItem, desc []metrics.Desc) Msg { return Msg{ Type: "completed", Content: Report{ PbftPoolCsv: PbftPoolCsv, MeasureOutputs: desc, }, } }
View Source
var Computing = func(Total int, Count int) Msg { return Msg{ Type: "computing", Content: Progress{ Total: Total, Count: Count, }, } }
View Source
var Hello = Msg{Type: "hello"}
View Source
var Started = Msg{Type: "started"}
View Source
var ValNothing = Nothing{} // 一个方便的单例。
Functions ¶
func RunFrontendServer ¶
func RunFrontendServer()
Types ¶
type ApiProxy ¶
type ApiProxy interface {
Enqueue(m Msg)
// contains filtered or unexported methods
}
var GlobalProxy ApiProxy
type GoodApiProxy ¶
type GoodApiProxy struct {
Append_Signal signal.Signal[Msg]
// contains filtered or unexported fields
}
func NewGoodApiProxy ¶
func NewGoodApiProxy() *GoodApiProxy
Click to show internal directories.
Click to hide internal directories.