web

package
v0.0.0-...-1912e75 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2021 License: OSL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const REFRESH_RATE_HZ float64 = 4.0

Variables

View Source
var Version string

Functions

func GenerateRandomBytes

func GenerateRandomBytes(n int) ([]byte, error)

func GenerateRandomStringURLSafe

func GenerateRandomStringURLSafe(n int) (string, error)

Types

type Stash

type Stash struct {
	AppPrefix       string
	IsAuthenticated bool
	Username        string
	Roles           []string
	Values          map[string]string
	Nonce           string
}

type View

type View struct {
	Text string
}

type WebServerPlugin

type WebServerPlugin struct {
	// contains filtered or unexported fields
}

func (*WebServerPlugin) ReceiveData

func (x *WebServerPlugin) ReceiveData(mdu securities.MarketDataUpdate)

func (*WebServerPlugin) Root

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL