routes

package
v0.1.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Routes

type Routes struct {
	API       *api.API
	Config    *config.Config
	PublicDir fs.FS
}

func (*Routes) APIDeviceCreate

func (routes *Routes) APIDeviceCreate(rw http.ResponseWriter, r *http.Request)

func (*Routes) APIDeviceList

func (routes *Routes) APIDeviceList(rw http.ResponseWriter, r *http.Request)

func (*Routes) APIDeviceUpdate

func (routes *Routes) APIDeviceUpdate(rw http.ResponseWriter, r *http.Request)

func (*Routes) CreateHotReloadRoute

func (routes *Routes) CreateHotReloadRoute() http.HandlerFunc

func (*Routes) DevicesCreateHTMX

func (routes *Routes) DevicesCreateHTMX(rw http.ResponseWriter, req *http.Request)

func (*Routes) DevicesUpdateHTMX

func (routes *Routes) DevicesUpdateHTMX(rw http.ResponseWriter, req *http.Request)

func (*Routes) DevicesValidateNameHTMX

func (routes *Routes) DevicesValidateNameHTMX(rw http.ResponseWriter, req *http.Request)

func (*Routes) DevicesValidateSlugHTMX

func (routes *Routes) DevicesValidateSlugHTMX(rw http.ResponseWriter, req *http.Request)

func (*Routes) EventsAPI

func (routes *Routes) EventsAPI(rw http.ResponseWriter, r *http.Request)

func (*Routes) HealthCheck

func (routes *Routes) HealthCheck(rw http.ResponseWriter, req *http.Request)

func (*Routes) ImagesListAPI

func (routes *Routes) ImagesListAPI(rw http.ResponseWriter, r *http.Request)

func (*Routes) PageConfig

func (routes *Routes) PageConfig(rw http.ResponseWriter, req *http.Request)

func (*Routes) PageDeviceDetails

func (routes *Routes) PageDeviceDetails(rw http.ResponseWriter, req *http.Request)

func (*Routes) PageDevices

func (routes *Routes) PageDevices(rw http.ResponseWriter, req *http.Request)

func (*Routes) PageDevicesAdd

func (routes *Routes) PageDevicesAdd(rw http.ResponseWriter, req *http.Request)

func (*Routes) PageDevicesEdit

func (routes *Routes) PageDevicesEdit(rw http.ResponseWriter, req *http.Request)

func (*Routes) PageHome

func (routes *Routes) PageHome(rw http.ResponseWriter, r *http.Request)

func (*Routes) PageScheduleHistory

func (routes *Routes) PageScheduleHistory(rw http.ResponseWriter, req *http.Request)

func (*Routes) PageSubreddits

func (routes *Routes) PageSubreddits(rw http.ResponseWriter, r *http.Request)

func (*Routes) PageSubredditsAdd

func (routes *Routes) PageSubredditsAdd(rw http.ResponseWriter, r *http.Request)

func (*Routes) PageSubredditsDetails

func (routes *Routes) PageSubredditsDetails(rw http.ResponseWriter, r *http.Request)

func (*Routes) PageSubredditsEdit

func (routes *Routes) PageSubredditsEdit(rw http.ResponseWriter, r *http.Request)

func (*Routes) Register

func (routes *Routes) Register(router chi.Router)

func (*Routes) SubredditCheckHTMX

func (routes *Routes) SubredditCheckHTMX(rw http.ResponseWriter, r *http.Request)

func (*Routes) SubredditStartDownloadAPI

func (r *Routes) SubredditStartDownloadAPI(rw http.ResponseWriter, req *http.Request)

func (*Routes) SubredditStartDownloadHTMX

func (routes *Routes) SubredditStartDownloadHTMX(rw http.ResponseWriter, r *http.Request)

func (*Routes) SubredditValidateScheduleHTMX

func (routes *Routes) SubredditValidateScheduleHTMX(rw http.ResponseWriter, r *http.Request)

func (*Routes) SubredditsCheckAPI

func (routes *Routes) SubredditsCheckAPI(rw http.ResponseWriter, r *http.Request)

func (*Routes) SubredditsCreateAPI

func (routes *Routes) SubredditsCreateAPI(rw http.ResponseWriter, req *http.Request)

func (*Routes) SubredditsCreateHTMX

func (routes *Routes) SubredditsCreateHTMX(rw http.ResponseWriter, r *http.Request)

func (*Routes) SubredditsEditHTMX

func (routes *Routes) SubredditsEditHTMX(rw http.ResponseWriter, r *http.Request)

func (*Routes) SubredditsListAPI

func (r *Routes) SubredditsListAPI(rw http.ResponseWriter, req *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL