Documentation
¶
Index ¶
- Variables
- func AuthMiddleware(next http.Handler) http.Handler
- func GetUser(r *http.Request) *models.User
- func RequireAuth() application.Bouncer
- type ActivityGroup
- type AgentController
- func (c *AgentController) Chat(w http.ResponseWriter, r *http.Request)
- func (c *AgentController) Conversations() []*models.Conversation
- func (c *AgentController) DeleteConversation(w http.ResponseWriter, r *http.Request)
- func (c AgentController) Handle(r *http.Request) application.Controller
- func (c *AgentController) HasAgent() bool
- func (c *AgentController) ListConversations(w http.ResponseWriter, r *http.Request)
- func (c *AgentController) LoadConversation(w http.ResponseWriter, r *http.Request)
- func (c *AgentController) NewConversation(w http.ResponseWriter, r *http.Request)
- func (c *AgentController) Setup(app *application.App)
- type AuthController
- func (c *AuthController) ChangePassword(w http.ResponseWriter, r *http.Request)
- func (c *AuthController) CreateAccount(w http.ResponseWriter, r *http.Request)
- func (c *AuthController) CurrentUser() *models.User
- func (c AuthController) Handle(r *http.Request) application.Controller
- func (c *AuthController) HasError() bool
- func (c *AuthController) Login(w http.ResponseWriter, r *http.Request)
- func (c *AuthController) Logout(w http.ResponseWriter, r *http.Request)
- func (c *AuthController) NeedsSetup() bool
- func (c *AuthController) Setup(app *application.App)
- type ClaudeProcess
- type DashboardController
- func (c *DashboardController) APIServicesStatus(w http.ResponseWriter, r *http.Request)
- func (c *DashboardController) APIStats(w http.ResponseWriter, r *http.Request)
- func (c *DashboardController) ActiveTasks() []*models.Task
- func (c *DashboardController) AvailableRepos() []*models.Repository
- func (c *DashboardController) ClaudeProcesses() []ClaudeProcess
- func (c *DashboardController) Conversations() []*models.Conversation
- func (c *DashboardController) CronCreate(w http.ResponseWriter, r *http.Request)
- func (c *DashboardController) CronDelete(w http.ResponseWriter, r *http.Request)
- func (c *DashboardController) CronJobs() []internal.CronJob
- func (c *DashboardController) CronList(w http.ResponseWriter, r *http.Request)
- func (c *DashboardController) Domain() string
- func (c DashboardController) Handle(r *http.Request) application.Controller
- func (c *DashboardController) HasAgent() bool
- func (c *DashboardController) HasDomain() bool
- func (c *DashboardController) IsCoderRunning() bool
- func (c *DashboardController) RecentActivity() []ActivityGroup
- func (c *DashboardController) RepoCount() int
- func (c *DashboardController) Repositories() []*models.Repository
- func (c *DashboardController) RestartCoder(w http.ResponseWriter, r *http.Request)
- func (c *DashboardController) Routes() []*models.Domain
- func (c *DashboardController) RunningContainers() []internal.RunningContainer
- func (c *DashboardController) RunningServiceCount() int
- func (c *DashboardController) ServicesByRepo() map[string]int
- func (c *DashboardController) Setup(app *application.App)
- func (c *DashboardController) SetupDomain(w http.ResponseWriter, r *http.Request)
- func (c *DashboardController) Stats(w http.ResponseWriter, r *http.Request)
- func (c *DashboardController) SystemStats() *internal.SystemStats
- type ExplorerController
- func (c *ExplorerController) Breadcrumbs() []FileEntry
- func (c *ExplorerController) Entries() []FileEntry
- func (c *ExplorerController) File() *SourceFile
- func (c ExplorerController) Handle(r *http.Request) application.Controller
- func (c *ExplorerController) HasInfra() bool
- func (c *ExplorerController) Infra() *InfraData
- func (c *ExplorerController) InstanceCount() int
- func (c *ExplorerController) IsFile() bool
- func (c *ExplorerController) LinkedRoutes() []*models.Domain
- func (c *ExplorerController) LinkedRunningCount() int
- func (c *ExplorerController) LinkedServices() []internal.LocalService
- func (c *ExplorerController) NotFound() bool
- func (c *ExplorerController) Path() string
- func (c *ExplorerController) Repo() *models.Repository
- func (c *ExplorerController) Setup(app *application.App)
- type FileEntry
- type InfraData
- type InfraInstanceInfo
- type InfraServerGroup
- type InfraServiceInfo
- type ReposController
- func (c *ReposController) Clone(w http.ResponseWriter, r *http.Request)
- func (c *ReposController) Delete(w http.ResponseWriter, r *http.Request)
- func (c ReposController) Handle(r *http.Request) application.Controller
- func (c *ReposController) Init(w http.ResponseWriter, r *http.Request)
- func (c *ReposController) NewProject(w http.ResponseWriter, r *http.Request)
- func (c *ReposController) Pull(w http.ResponseWriter, r *http.Request)
- func (c *ReposController) Setup(app *application.App)
- type RoutesController
- func (c *RoutesController) AddRoute(w http.ResponseWriter, r *http.Request)
- func (c *RoutesController) CheckDNS(w http.ResponseWriter, r *http.Request)
- func (c *RoutesController) DeleteRoute(w http.ResponseWriter, r *http.Request)
- func (c RoutesController) Handle(r *http.Request) application.Controller
- func (c *RoutesController) Setup(app *application.App)
- func (c *RoutesController) UpdateRoute(w http.ResponseWriter, r *http.Request)
- type ServicesController
- func (c *ServicesController) AllServices() []internal.LocalService
- func (c *ServicesController) AvailableRepos() []*models.Repository
- func (c *ServicesController) Delete(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) Deploy(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) EnvJSON() string
- func (c ServicesController) Handle(r *http.Request) application.Controller
- func (c *ServicesController) LaunchRemote(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) Logs(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) Redeploy(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) Restart(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) RunBinary(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) Service() *internal.LocalService
- func (c *ServicesController) ServiceDomainID() string
- func (c *ServicesController) ServiceHistory() []*models.LogEntry
- func (c *ServicesController) ServiceUptime() string
- func (c *ServicesController) SetDomain(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) Setup(app *application.App)
- func (c *ServicesController) Start(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) Stop(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) StopBinary(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) UpdateEnv(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) UpdateSettings(w http.ResponseWriter, r *http.Request)
- func (c *ServicesController) VolumesJSON() string
- type SourceFile
- type WorkController
- func (c *WorkController) APICreateLogEntry(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) APICreateTask(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) APIUpdateTaskStatus(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) ActiveTasks(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) AgentHeartbeat() string
- func (c *WorkController) AgentStatus() string
- func (c *WorkController) ApprovePlan(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) CleanupTasks(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) ClearActivity(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) CreateTask(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) DeleteTask(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) DoneTasks() []*models.Task
- func (c WorkController) Handle(r *http.Request) application.Controller
- func (c *WorkController) LogEntries() []*models.LogEntry
- func (c *WorkController) Plans() []*models.Plan
- func (c *WorkController) QuickCreateTask(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) RejectPlan(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) Setup(app *application.App)
- func (c *WorkController) Tasks() []*models.Task
- func (c *WorkController) TodoTasks() []*models.Task
- func (c *WorkController) ToggleTask(w http.ResponseWriter, r *http.Request)
- func (c *WorkController) UpdateTaskStatus(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
var (
LoginRedirect = "/"
)
Functions ¶
func AuthMiddleware ¶
AuthMiddleware wraps an http.Handler with auth checking.
func RequireAuth ¶
func RequireAuth() application.Bouncer
RequireAuth returns a bouncer that redirects unauthenticated requests.
Types ¶
type ActivityGroup ¶
ActivityGroup is a set of consecutive log entries with the same type.
func (ActivityGroup) Count ¶
func (g ActivityGroup) Count() int
Count returns the number of items in the group.
func (ActivityGroup) First ¶
func (g ActivityGroup) First() *models.LogEntry
First returns the most recent entry in the group (for timestamps).
func (ActivityGroup) Single ¶
func (g ActivityGroup) Single() bool
Single returns true if the group has exactly one item.
type AgentController ¶
type AgentController struct {
application.BaseController
}
func Agent ¶
func Agent() (string, *AgentController)
func (*AgentController) Chat ¶
func (c *AgentController) Chat(w http.ResponseWriter, r *http.Request)
func (*AgentController) Conversations ¶
func (c *AgentController) Conversations() []*models.Conversation
func (*AgentController) DeleteConversation ¶
func (c *AgentController) DeleteConversation(w http.ResponseWriter, r *http.Request)
func (AgentController) Handle ¶
func (c AgentController) Handle(r *http.Request) application.Controller
func (*AgentController) HasAgent ¶
func (c *AgentController) HasAgent() bool
func (*AgentController) ListConversations ¶
func (c *AgentController) ListConversations(w http.ResponseWriter, r *http.Request)
func (*AgentController) LoadConversation ¶
func (c *AgentController) LoadConversation(w http.ResponseWriter, r *http.Request)
func (*AgentController) NewConversation ¶
func (c *AgentController) NewConversation(w http.ResponseWriter, r *http.Request)
func (*AgentController) Setup ¶
func (c *AgentController) Setup(app *application.App)
type AuthController ¶
type AuthController struct {
application.BaseController
}
func Auth ¶
func Auth() (string, *AuthController)
func (*AuthController) ChangePassword ¶
func (c *AuthController) ChangePassword(w http.ResponseWriter, r *http.Request)
func (*AuthController) CreateAccount ¶
func (c *AuthController) CreateAccount(w http.ResponseWriter, r *http.Request)
func (*AuthController) CurrentUser ¶
func (c *AuthController) CurrentUser() *models.User
func (AuthController) Handle ¶
func (c AuthController) Handle(r *http.Request) application.Controller
func (*AuthController) HasError ¶
func (c *AuthController) HasError() bool
func (*AuthController) Login ¶
func (c *AuthController) Login(w http.ResponseWriter, r *http.Request)
func (*AuthController) Logout ¶
func (c *AuthController) Logout(w http.ResponseWriter, r *http.Request)
func (*AuthController) NeedsSetup ¶
func (c *AuthController) NeedsSetup() bool
func (*AuthController) Setup ¶
func (c *AuthController) Setup(app *application.App)
type ClaudeProcess ¶
ClaudeProcess represents a running Claude Code instance.
type DashboardController ¶
type DashboardController struct {
application.BaseController
}
func Dashboard ¶
func Dashboard() (string, *DashboardController)
func (*DashboardController) APIServicesStatus ¶
func (c *DashboardController) APIServicesStatus(w http.ResponseWriter, r *http.Request)
func (*DashboardController) APIStats ¶
func (c *DashboardController) APIStats(w http.ResponseWriter, r *http.Request)
func (*DashboardController) ActiveTasks ¶
func (c *DashboardController) ActiveTasks() []*models.Task
ActiveTasks returns user-created task checklist items.
func (*DashboardController) AvailableRepos ¶
func (c *DashboardController) AvailableRepos() []*models.Repository
AvailableRepos returns repos available for deployment.
func (*DashboardController) ClaudeProcesses ¶
func (c *DashboardController) ClaudeProcesses() []ClaudeProcess
ClaudeProcesses checks for running Claude instances in the code-server container.
func (*DashboardController) Conversations ¶
func (c *DashboardController) Conversations() []*models.Conversation
Conversations returns recent agent conversations.
func (*DashboardController) CronCreate ¶
func (c *DashboardController) CronCreate(w http.ResponseWriter, r *http.Request)
func (*DashboardController) CronDelete ¶
func (c *DashboardController) CronDelete(w http.ResponseWriter, r *http.Request)
func (*DashboardController) CronJobs ¶
func (c *DashboardController) CronJobs() []internal.CronJob
CronJobs returns cron entries from code-server.
func (*DashboardController) CronList ¶
func (c *DashboardController) CronList(w http.ResponseWriter, r *http.Request)
func (*DashboardController) Domain ¶
func (c *DashboardController) Domain() string
func (DashboardController) Handle ¶
func (c DashboardController) Handle(r *http.Request) application.Controller
func (*DashboardController) HasAgent ¶
func (c *DashboardController) HasAgent() bool
HasAgent checks if the Claude Code CLI is authenticated.
func (*DashboardController) HasDomain ¶
func (c *DashboardController) HasDomain() bool
func (*DashboardController) IsCoderRunning ¶
func (c *DashboardController) IsCoderRunning() bool
func (*DashboardController) RecentActivity ¶
func (c *DashboardController) RecentActivity() []ActivityGroup
RecentActivity returns log entries grouped by consecutive type.
func (*DashboardController) RepoCount ¶
func (c *DashboardController) RepoCount() int
func (*DashboardController) Repositories ¶
func (c *DashboardController) Repositories() []*models.Repository
Repositories returns all repos ordered by update time.
func (*DashboardController) RestartCoder ¶
func (c *DashboardController) RestartCoder(w http.ResponseWriter, r *http.Request)
func (*DashboardController) Routes ¶
func (c *DashboardController) Routes() []*models.Domain
Routes returns all domain records.
func (*DashboardController) RunningContainers ¶
func (c *DashboardController) RunningContainers() []internal.RunningContainer
RunningContainers returns all running Docker containers for dashboard display.
func (*DashboardController) RunningServiceCount ¶
func (c *DashboardController) RunningServiceCount() int
func (*DashboardController) ServicesByRepo ¶
func (c *DashboardController) ServicesByRepo() map[string]int
ServicesByRepo returns a map of repo ID → service count from infra.json.
func (*DashboardController) Setup ¶
func (c *DashboardController) Setup(app *application.App)
func (*DashboardController) SetupDomain ¶
func (c *DashboardController) SetupDomain(w http.ResponseWriter, r *http.Request)
func (*DashboardController) Stats ¶
func (c *DashboardController) Stats(w http.ResponseWriter, r *http.Request)
func (*DashboardController) SystemStats ¶
func (c *DashboardController) SystemStats() *internal.SystemStats
type ExplorerController ¶
type ExplorerController struct {
application.BaseController
// contains filtered or unexported fields
}
func Explorer ¶
func Explorer() (string, *ExplorerController)
func (*ExplorerController) Breadcrumbs ¶
func (c *ExplorerController) Breadcrumbs() []FileEntry
func (*ExplorerController) Entries ¶
func (c *ExplorerController) Entries() []FileEntry
func (*ExplorerController) File ¶
func (c *ExplorerController) File() *SourceFile
func (ExplorerController) Handle ¶
func (c ExplorerController) Handle(r *http.Request) application.Controller
func (*ExplorerController) HasInfra ¶
func (c *ExplorerController) HasInfra() bool
HasInfra returns true if the repo has an infra.json file.
func (*ExplorerController) Infra ¶
func (c *ExplorerController) Infra() *InfraData
Infra reads and parses infra.json from the repo into typed display structures.
func (*ExplorerController) InstanceCount ¶
func (c *ExplorerController) InstanceCount() int
InstanceCount returns the total number of instances from infra.json.
func (*ExplorerController) IsFile ¶
func (c *ExplorerController) IsFile() bool
func (*ExplorerController) LinkedRoutes ¶
func (c *ExplorerController) LinkedRoutes() []*models.Domain
LinkedRoutes returns domains associated with services from this repo.
func (*ExplorerController) LinkedRunningCount ¶
func (c *ExplorerController) LinkedRunningCount() int
LinkedRunningCount returns the number of running services from this project.
func (*ExplorerController) LinkedServices ¶
func (c *ExplorerController) LinkedServices() []internal.LocalService
LinkedServices returns services from this project's infra.json (cached per request).
func (*ExplorerController) NotFound ¶
func (c *ExplorerController) NotFound() bool
func (*ExplorerController) Path ¶
func (c *ExplorerController) Path() string
func (*ExplorerController) Repo ¶
func (c *ExplorerController) Repo() *models.Repository
func (*ExplorerController) Setup ¶
func (c *ExplorerController) Setup(app *application.App)
type InfraData ¶
type InfraData struct {
Provider string
Region string
ServerGroups []InfraServerGroup
ServiceList []InfraServiceInfo
Raw string
}
InfraData holds parsed infra.json for template display.
type InfraInstanceInfo ¶
type InfraServerGroup ¶
type InfraServerGroup struct {
Name string
Size string
Instances []InfraInstanceInfo
}
type InfraServiceInfo ¶
type ReposController ¶
type ReposController struct {
application.BaseController
}
func Repos ¶
func Repos() (string, *ReposController)
func (*ReposController) Clone ¶
func (c *ReposController) Clone(w http.ResponseWriter, r *http.Request)
func (*ReposController) Delete ¶
func (c *ReposController) Delete(w http.ResponseWriter, r *http.Request)
func (ReposController) Handle ¶
func (c ReposController) Handle(r *http.Request) application.Controller
func (*ReposController) Init ¶
func (c *ReposController) Init(w http.ResponseWriter, r *http.Request)
func (*ReposController) NewProject ¶
func (c *ReposController) NewProject(w http.ResponseWriter, r *http.Request)
func (*ReposController) Pull ¶
func (c *ReposController) Pull(w http.ResponseWriter, r *http.Request)
func (*ReposController) Setup ¶
func (c *ReposController) Setup(app *application.App)
type RoutesController ¶
type RoutesController struct {
application.BaseController
}
func Routes ¶
func Routes() (string, *RoutesController)
func (*RoutesController) AddRoute ¶
func (c *RoutesController) AddRoute(w http.ResponseWriter, r *http.Request)
func (*RoutesController) CheckDNS ¶
func (c *RoutesController) CheckDNS(w http.ResponseWriter, r *http.Request)
func (*RoutesController) DeleteRoute ¶
func (c *RoutesController) DeleteRoute(w http.ResponseWriter, r *http.Request)
func (RoutesController) Handle ¶
func (c RoutesController) Handle(r *http.Request) application.Controller
func (*RoutesController) Setup ¶
func (c *RoutesController) Setup(app *application.App)
func (*RoutesController) UpdateRoute ¶
func (c *RoutesController) UpdateRoute(w http.ResponseWriter, r *http.Request)
type ServicesController ¶
type ServicesController struct {
application.BaseController
}
func Services ¶
func Services() (string, *ServicesController)
func (*ServicesController) AllServices ¶
func (c *ServicesController) AllServices() []internal.LocalService
AllServices returns all services from all projects' infra.json files.
func (*ServicesController) AvailableRepos ¶
func (c *ServicesController) AvailableRepos() []*models.Repository
AvailableRepos returns repos available for deployment.
func (*ServicesController) Delete ¶
func (c *ServicesController) Delete(w http.ResponseWriter, r *http.Request)
func (*ServicesController) Deploy ¶
func (c *ServicesController) Deploy(w http.ResponseWriter, r *http.Request)
func (*ServicesController) EnvJSON ¶
func (c *ServicesController) EnvJSON() string
EnvJSON returns the service env as a JSON string (for EnvEditor component).
func (ServicesController) Handle ¶
func (c ServicesController) Handle(r *http.Request) application.Controller
func (*ServicesController) LaunchRemote ¶
func (c *ServicesController) LaunchRemote(w http.ResponseWriter, r *http.Request)
func (*ServicesController) Logs ¶
func (c *ServicesController) Logs(w http.ResponseWriter, r *http.Request)
func (*ServicesController) Redeploy ¶
func (c *ServicesController) Redeploy(w http.ResponseWriter, r *http.Request)
func (*ServicesController) Restart ¶
func (c *ServicesController) Restart(w http.ResponseWriter, r *http.Request)
func (*ServicesController) RunBinary ¶
func (c *ServicesController) RunBinary(w http.ResponseWriter, r *http.Request)
func (*ServicesController) Service ¶
func (c *ServicesController) Service() *internal.LocalService
Service returns the current service from infra.json + Docker state.
func (*ServicesController) ServiceDomainID ¶
func (c *ServicesController) ServiceDomainID() string
ServiceDomainID returns the Domain record ID for DNS check.
func (*ServicesController) ServiceHistory ¶
func (c *ServicesController) ServiceHistory() []*models.LogEntry
ServiceHistory returns recent log entries for this service.
func (*ServicesController) ServiceUptime ¶
func (c *ServicesController) ServiceUptime() string
func (*ServicesController) SetDomain ¶
func (c *ServicesController) SetDomain(w http.ResponseWriter, r *http.Request)
func (*ServicesController) Setup ¶
func (c *ServicesController) Setup(app *application.App)
func (*ServicesController) Start ¶
func (c *ServicesController) Start(w http.ResponseWriter, r *http.Request)
func (*ServicesController) Stop ¶
func (c *ServicesController) Stop(w http.ResponseWriter, r *http.Request)
func (*ServicesController) StopBinary ¶
func (c *ServicesController) StopBinary(w http.ResponseWriter, r *http.Request)
func (*ServicesController) UpdateEnv ¶
func (c *ServicesController) UpdateEnv(w http.ResponseWriter, r *http.Request)
func (*ServicesController) UpdateSettings ¶
func (c *ServicesController) UpdateSettings(w http.ResponseWriter, r *http.Request)
func (*ServicesController) VolumesJSON ¶
func (c *ServicesController) VolumesJSON() string
VolumesJSON returns the service volumes as a JSON string (for VolumeEditor component).
type SourceFile ¶
type WorkController ¶
type WorkController struct {
application.BaseController
}
func Work ¶
func Work() (string, *WorkController)
func (*WorkController) APICreateLogEntry ¶
func (c *WorkController) APICreateLogEntry(w http.ResponseWriter, r *http.Request)
func (*WorkController) APICreateTask ¶
func (c *WorkController) APICreateTask(w http.ResponseWriter, r *http.Request)
func (*WorkController) APIUpdateTaskStatus ¶
func (c *WorkController) APIUpdateTaskStatus(w http.ResponseWriter, r *http.Request)
func (*WorkController) ActiveTasks ¶
func (c *WorkController) ActiveTasks(w http.ResponseWriter, r *http.Request)
ActiveTasks returns user-created tasks as HTMX partial.
func (*WorkController) AgentHeartbeat ¶
func (c *WorkController) AgentHeartbeat() string
func (*WorkController) AgentStatus ¶
func (c *WorkController) AgentStatus() string
func (*WorkController) ApprovePlan ¶
func (c *WorkController) ApprovePlan(w http.ResponseWriter, r *http.Request)
func (*WorkController) CleanupTasks ¶
func (c *WorkController) CleanupTasks(w http.ResponseWriter, r *http.Request)
CleanupTasks removes all completed tasks.
func (*WorkController) ClearActivity ¶
func (c *WorkController) ClearActivity(w http.ResponseWriter, r *http.Request)
ClearActivity removes all log entries.
func (*WorkController) CreateTask ¶
func (c *WorkController) CreateTask(w http.ResponseWriter, r *http.Request)
func (*WorkController) DeleteTask ¶
func (c *WorkController) DeleteTask(w http.ResponseWriter, r *http.Request)
func (*WorkController) DoneTasks ¶
func (c *WorkController) DoneTasks() []*models.Task
func (WorkController) Handle ¶
func (c WorkController) Handle(r *http.Request) application.Controller
func (*WorkController) LogEntries ¶
func (c *WorkController) LogEntries() []*models.LogEntry
func (*WorkController) Plans ¶
func (c *WorkController) Plans() []*models.Plan
func (*WorkController) QuickCreateTask ¶
func (c *WorkController) QuickCreateTask(w http.ResponseWriter, r *http.Request)
QuickCreateTask adds a manual checklist item from the dashboard.
func (*WorkController) RejectPlan ¶
func (c *WorkController) RejectPlan(w http.ResponseWriter, r *http.Request)
func (*WorkController) Setup ¶
func (c *WorkController) Setup(app *application.App)
func (*WorkController) Tasks ¶
func (c *WorkController) Tasks() []*models.Task
func (*WorkController) TodoTasks ¶
func (c *WorkController) TodoTasks() []*models.Task
func (*WorkController) ToggleTask ¶
func (c *WorkController) ToggleTask(w http.ResponseWriter, r *http.Request)
ToggleTask marks a todo task as done or a done task back to todo.
func (*WorkController) UpdateTaskStatus ¶
func (c *WorkController) UpdateTaskStatus(w http.ResponseWriter, r *http.Request)