Versions in this module Expand all Collapse all v0 v0.1.2 Jan 9, 2020 Changes in this version type Option + func WithBindAddr(bindAddr string) Option v0.1.1 Sep 3, 2019 Changes in this version + type HTTPRunner struct + func NewHTTPRunner(options ...Option) (*HTTPRunner, error) + func (hr *HTTPRunner) GetAuthDataTicker() <-chan time.Time + func (hr *HTTPRunner) GetBlockTicker() <-chan time.Time + func (hr *HTTPRunner) GetGlobalDataTicker() <-chan time.Time + func (hr *HTTPRunner) GetOrderbookTicker() <-chan time.Time + func (hr *HTTPRunner) GetRateTicker() <-chan time.Time + func (hr *HTTPRunner) Start() error + func (hr *HTTPRunner) Stop() error + type Option func(hr *HTTPRunner) + func WithPort(port int) Option + type Server struct + func NewServer(runner *HTTPRunner, host string) *Server + func (s *Server) Start() error + func (s *Server) Stop() error