Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationConfig ¶
type Environment ¶
type Environment struct { Config Config ProjectTitle string Views []ViewConfig Authentication AuthenticationConfig DevicePool *pool.Pool[*restarter.Restarter[device.Device]] StateStorage *dataflow.ValueStorage CommandStorage *dataflow.ValueStorage }
type ErrorResponse ¶
type ErrorResponse struct {
Message string `json:"message" example:"status bad request"`
}
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func Run ¶
func Run(env *Environment) (httpServer *HttpServer)
func (*HttpServer) Shutdown ¶
func (s *HttpServer) Shutdown()
type ViewConfig ¶
type ViewDeviceConfig ¶
type ViewDeviceConfig interface { Name() string Title() string Filter() dataflow.RegisterFilterConf }
Click to show internal directories.
Click to hide internal directories.