Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Config *ServerConfig Storage data_access.StorageInterface }
Server is server to query trace stats
func NewAPIServer ¶
func NewAPIServer(config *ServerConfig) (*Server, error)
NewAPIServer create new API server
func (*Server) StartServer ¶
func (s *Server) StartServer(stopCh chan struct{})
type ServerConfig ¶
type ServerConfig struct { MetricsAddr string ListenAddr string Storage data_access.StorageInterface }
Click to show internal directories.
Click to hide internal directories.