Documentation ¶
Index ¶
- Constants
- Variables
- func GenerateRandomBytes(n int) ([]byte, error)
- func GenerateRandomStringURLSafe(n int) (string, error)
- type Stash
- type View
- type WebServerPlugin
- func (x *WebServerPlugin) ReceiveData(mdu securities.MarketDataUpdate)
- func (x *WebServerPlugin) Root(w http.ResponseWriter, r *http.Request)
- func (x *WebServerPlugin) Run()
- func (x *WebServerPlugin) Snapshot(w http.ResponseWriter, r *http.Request)
- func (x *WebServerPlugin) Stop()
- func (x *WebServerPlugin) Symbols(w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const REFRESH_RATE_HZ float64 = 4.0
Variables ¶
View Source
var Version string
Functions ¶
func GenerateRandomBytes ¶
Types ¶
type WebServerPlugin ¶
type WebServerPlugin struct {
// contains filtered or unexported fields
}
func New ¶
func New(ss *securities.SecurityStore, as *accounts.AccountStore) *WebServerPlugin
func (*WebServerPlugin) ReceiveData ¶
func (x *WebServerPlugin) ReceiveData(mdu securities.MarketDataUpdate)
func (*WebServerPlugin) Root ¶
func (x *WebServerPlugin) Root(w http.ResponseWriter, r *http.Request)
func (*WebServerPlugin) Run ¶
func (x *WebServerPlugin) Run()
func (*WebServerPlugin) Snapshot ¶
func (x *WebServerPlugin) Snapshot(w http.ResponseWriter, r *http.Request)
func (*WebServerPlugin) Stop ¶
func (x *WebServerPlugin) Stop()
func (*WebServerPlugin) Symbols ¶
func (x *WebServerPlugin) Symbols(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.