Documentation ¶ Index ¶ Variables func Handler(s *Server) http.Handler type Server func NewServer(conf *config.ChaosDashboardConfig, uiAssetFS http.FileSystem, ...) *Server Constants ¶ This section is empty. Variables ¶ View Source var ( // Module includes the providers and registers provided by apiserver and handlers. Module = fx.Options( fx.Provide( uiserver.AssetFS, newAPIHandlerEngine, NewServer, ), fx.Invoke(serverRegister), handlerModule) ) Functions ¶ func Handler ¶ func Handler(s *Server) http.Handler Handler returns a `http.Handler` Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } Server is a server to run API service. func NewServer ¶ func NewServer( conf *config.ChaosDashboardConfig, uiAssetFS http.FileSystem, apiHandlerEngine *gin.Engine, ) *Server NewServer returns a Server instance. Source Files ¶ View all Source files handler.go server.go Directories ¶ Show internal Expand all Path Synopsis archive common event experiment utils Click to show internal directories. Click to hide internal directories.