Documentation ¶
Index ¶
- type BlockDevice
- type DBusAction
- type Server
- func (s *Server) SetupRoutes()
- func (s *Server) Shutdown(ctx context.Context) error
- func (s *Server) Start(ctx context.Context) error
- func (s *Server) SvcHandlerAction(w http.ResponseWriter, r *http.Request)
- func (s *Server) SvcHandlerCreate(w http.ResponseWriter, r *http.Request)
- func (s *Server) SvcHandlerDelete(w http.ResponseWriter, r *http.Request)
- func (s *Server) SvcHandlerGet(w http.ResponseWriter, r *http.Request)
- func (s *Server) SvcHandlerList(w http.ResponseWriter, r *http.Request)
- func (s *Server) SvcHandlerSearch(w http.ResponseWriter, r *http.Request)
- func (s *Server) SystemGetDisk(w http.ResponseWriter, r *http.Request)
- func (s *Server) SystemGetMemory(w http.ResponseWriter, r *http.Request)
- func (s *Server) SystemGetVersions(w http.ResponseWriter, r *http.Request)
- func (s *Server) SystemReloadSysD(w http.ResponseWriter, r *http.Request)
- func (s *Server) WebsocketHandler(w http.ResponseWriter, r *http.Request)
- type StaticHandler
- type Svc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDevice ¶
type Server ¶
type Server struct { Log *logrus.Logger Router *chi.Mux AssetHandler StaticHandler HTTP *http.Server DB *badger.DB DBus *dbus.Conn Pod podman.Conn }
func (*Server) SetupRoutes ¶
func (s *Server) SetupRoutes()
func (*Server) SvcHandlerAction ¶
func (s *Server) SvcHandlerAction(w http.ResponseWriter, r *http.Request)
func (*Server) SvcHandlerCreate ¶
func (s *Server) SvcHandlerCreate(w http.ResponseWriter, r *http.Request)
func (*Server) SvcHandlerDelete ¶
func (s *Server) SvcHandlerDelete(w http.ResponseWriter, r *http.Request)
func (*Server) SvcHandlerGet ¶
func (s *Server) SvcHandlerGet(w http.ResponseWriter, r *http.Request)
func (*Server) SvcHandlerList ¶
func (s *Server) SvcHandlerList(w http.ResponseWriter, r *http.Request)
func (*Server) SvcHandlerSearch ¶
func (s *Server) SvcHandlerSearch(w http.ResponseWriter, r *http.Request)
func (*Server) SystemGetDisk ¶
func (s *Server) SystemGetDisk(w http.ResponseWriter, r *http.Request)
func (*Server) SystemGetMemory ¶
func (s *Server) SystemGetMemory(w http.ResponseWriter, r *http.Request)
func (*Server) SystemGetVersions ¶
func (s *Server) SystemGetVersions(w http.ResponseWriter, r *http.Request)
func (*Server) SystemReloadSysD ¶
func (s *Server) SystemReloadSysD(w http.ResponseWriter, r *http.Request)
func (*Server) WebsocketHandler ¶
func (s *Server) WebsocketHandler(w http.ResponseWriter, r *http.Request)
type StaticHandler ¶
Click to show internal directories.
Click to hide internal directories.