Documentation ¶
Index ¶
- type ActivityRow
- type FrontServer
- func (s *FrontServer) CreateProject(w http.ResponseWriter, r *http.Request)
- func (s *FrontServer) CreateTask(w http.ResponseWriter, r *http.Request)
- func (s *FrontServer) Login(w http.ResponseWriter, r *http.Request)
- func (s *FrontServer) Logout(w http.ResponseWriter, r *http.Request)
- func (s *FrontServer) Signup(w http.ResponseWriter, r *http.Request)
- func (s *FrontServer) UpdateProject(w http.ResponseWriter, r *http.Request)
- func (s *FrontServer) UpdateTask(w http.ResponseWriter, r *http.Request)
- func (s *FrontServer) ViewHome(w http.ResponseWriter, r *http.Request)
- func (s *FrontServer) ViewLogin(w http.ResponseWriter, r *http.Request)
- func (s *FrontServer) ViewProject(w http.ResponseWriter, r *http.Request)
- func (s FrontServer) ViewSignup(w http.ResponseWriter, r *http.Request)
- type HomeContent
- type ProjectContent
- type TaskRow
- type TaskStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityRow ¶
type ActivityRow struct {
// contains filtered or unexported fields
}
func (*ActivityRow) DateTime ¶
func (r *ActivityRow) DateTime() string
func (*ActivityRow) Text ¶
func (r *ActivityRow) Text() string
type FrontServer ¶
type FrontServer struct { ActivityClient pbactivity.ActivityServiceClient ProjectClient pbproject.ProjectServiceClient TaskClient pbtask.TaskServiceClient UserClient pbuser.UserServiceClient SessionStore session.Store }
func (*FrontServer) CreateProject ¶
func (s *FrontServer) CreateProject(w http.ResponseWriter, r *http.Request)
func (*FrontServer) CreateTask ¶
func (s *FrontServer) CreateTask(w http.ResponseWriter, r *http.Request)
func (*FrontServer) Login ¶
func (s *FrontServer) Login(w http.ResponseWriter, r *http.Request)
func (*FrontServer) Logout ¶
func (s *FrontServer) Logout(w http.ResponseWriter, r *http.Request)
func (*FrontServer) Signup ¶
func (s *FrontServer) Signup(w http.ResponseWriter, r *http.Request)
func (*FrontServer) UpdateProject ¶
func (s *FrontServer) UpdateProject(w http.ResponseWriter, r *http.Request)
func (*FrontServer) UpdateTask ¶
func (s *FrontServer) UpdateTask(w http.ResponseWriter, r *http.Request)
func (*FrontServer) ViewHome ¶
func (s *FrontServer) ViewHome(w http.ResponseWriter, r *http.Request)
func (*FrontServer) ViewLogin ¶
func (s *FrontServer) ViewLogin(w http.ResponseWriter, r *http.Request)
func (*FrontServer) ViewProject ¶
func (s *FrontServer) ViewProject(w http.ResponseWriter, r *http.Request)
func (FrontServer) ViewSignup ¶
func (s FrontServer) ViewSignup(w http.ResponseWriter, r *http.Request)
type HomeContent ¶
type HomeContent struct { PageName string IsLoggedIn bool TaskStatuses []TaskStatus UserEmail string ActivityRows []*ActivityRow Projects []*pbproject.Project TaskRows []*TaskRow }
type ProjectContent ¶
type TaskRow ¶
type TaskRow struct {
// contains filtered or unexported fields
}
func (*TaskRow) ProjectName ¶
func (*TaskRow) StatusName ¶
type TaskStatus ¶
func (TaskStatus) Status ¶
func (s TaskStatus) Status() int32
func (*TaskStatus) StatusName ¶
func (s *TaskStatus) StatusName() string
Click to show internal directories.
Click to hide internal directories.