Documentation ¶ Index ¶ type Server func New(cfg *spec.Config, cfgPath string, store *results.Store) *Server func (s *Server) Addr() string func (s *Server) OnReload(fn func()) func (s *Server) Serve(ctx context.Context) error func (s *Server) UpdateConfig(cfg *spec.Config) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func New ¶ func New(cfg *spec.Config, cfgPath string, store *results.Store) *Server func (*Server) Addr ¶ func (s *Server) Addr() string func (*Server) OnReload ¶ func (s *Server) OnReload(fn func()) func (*Server) Serve ¶ func (s *Server) Serve(ctx context.Context) error func (*Server) UpdateConfig ¶ func (s *Server) UpdateConfig(cfg *spec.Config) Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.