Documentation ¶
Index ¶
- type DeleteBuildingRequest
- type GetBuildingsByUserIDRequest
- type GetFriendsByMemberIdRequest
- type GetListOnlineMembersRequest
- type GetMemberByIDRequest
- type GetMemberByNameRequest
- type GetRoomsByBuildingIdRequest
- type GetUserByNameReq
- type HeartbeatHandler
- type LocationHandler
- func (h *LocationHandler) CreateBuilding(ctx *fiber.Ctx) error
- func (h *LocationHandler) DeleteBuilding(ctx *fiber.Ctx) error
- func (h *LocationHandler) EditMemberName(ctx *fiber.Ctx) error
- func (h *LocationHandler) GetBuildingByID(ctx *fiber.Ctx) error
- func (h *LocationHandler) GetBuildings(ctx *fiber.Ctx) error
- func (h *LocationHandler) GetBuildingsByUserID(ctx *fiber.Ctx) error
- func (h *LocationHandler) GetFriendsByMemberId(ctx *fiber.Ctx) error
- func (h *LocationHandler) GetListMemberByBuildingID(ctx *fiber.Ctx) error
- func (h *LocationHandler) GetListMyOwnedBuilding(ctx *fiber.Ctx) error
- func (h *LocationHandler) GetListOnlineMembers(ctx *fiber.Ctx) error
- func (h *LocationHandler) GetMemberByID(ctx *fiber.Ctx) error
- func (h *LocationHandler) GetMemberByName(ctx *fiber.Ctx) error
- func (h *LocationHandler) GetMyInvitation(ctx *fiber.Ctx) error
- func (h *LocationHandler) GetRoomsByBuildingId(ctx *fiber.Ctx) error
- func (h *LocationHandler) InviteMemberToBuilding(ctx *fiber.Ctx) error
- func (h *LocationHandler) JoinBuildingById(ctx *fiber.Ctx) error
- type LoginRequest
- type NotificationHandler
- type RegisterRequest
- type RegisterResponse
- type RemoteConfigHandler
- type ScheduleHandler
- func (h *ScheduleHandler) AutoSchedulePreview(ctx *fiber.Ctx) error
- func (h *ScheduleHandler) AutoScheduleSave(ctx *fiber.Ctx) error
- func (h *ScheduleHandler) CreateSchedule(ctx *fiber.Ctx) error
- func (h *ScheduleHandler) CreateTaskDependency(ctx *fiber.Ctx) error
- func (h *ScheduleHandler) DeleteTaskDependency(ctx *fiber.Ctx) error
- func (h *ScheduleHandler) EditTaskDependency(ctx *fiber.Ctx) error
- func (h *ScheduleHandler) GetListScheduleByRoomID(ctx *fiber.Ctx) error
- func (h *ScheduleHandler) GetListTaskByScheduleID(ctx *fiber.Ctx) error
- func (h *ScheduleHandler) GetTaskDetail(ctx *fiber.Ctx) error
- func (h *ScheduleHandler) PostAddTask(ctx *fiber.Ctx) error
- func (h *ScheduleHandler) PutEditTask(ctx *fiber.Ctx) error
- type UserHandler
- func (h *UserHandler) CheckUserExistance(ctx *fiber.Ctx) error
- func (h *UserHandler) GetListUserByUsername(ctx *fiber.Ctx) error
- func (h *UserHandler) Login(ctx *fiber.Ctx) error
- func (h *UserHandler) LoginAdmin(ctx *fiber.Ctx) error
- func (h *UserHandler) Register(ctx *fiber.Ctx) error
- func (h *UserHandler) RegisterAdmin(ctx *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteBuildingRequest ¶
type GetBuildingsByUserIDRequest ¶
type GetBuildingsByUserIDRequest struct {
UserID string `json:"userID" validate:"required"`
}
type GetFriendsByMemberIdRequest ¶
type GetFriendsByMemberIdRequest struct {
MemberID string `json:"memberId" validate:"required"`
}
type GetListOnlineMembersRequest ¶
type GetListOnlineMembersRequest struct {
RoomId string `json:"roomId" validate:"required"`
}
type GetMemberByIDRequest ¶
type GetMemberByIDRequest struct {
MemberID string `json:"memberID" validate:"required"`
}
type GetMemberByNameRequest ¶
type GetMemberByNameRequest struct {
Name string `query:"name"`
}
type GetRoomsByBuildingIdRequest ¶
type GetRoomsByBuildingIdRequest struct {
BuildingId string `json:"buildingId" validate:"required"`
}
type GetUserByNameReq ¶
type GetUserByNameReq struct {
// contains filtered or unexported fields
}
type HeartbeatHandler ¶
type HeartbeatHandler struct {
// contains filtered or unexported fields
}
func NewHeartBeatHandler ¶
func NewHeartBeatHandler(svc *service.HeartbeatService) *HeartbeatHandler
func (*HeartbeatHandler) GetStatusByUserId ¶
func (h *HeartbeatHandler) GetStatusByUserId(ctx *fiber.Ctx) error
func (*HeartbeatHandler) Pulse ¶
func (h *HeartbeatHandler) Pulse(ctx *fiber.Ctx) error
type LocationHandler ¶
type LocationHandler struct {
// contains filtered or unexported fields
}
func NewLocationHandler ¶
func NewLocationHandler(svc *service.LocationService) *LocationHandler
func (*LocationHandler) CreateBuilding ¶
func (h *LocationHandler) CreateBuilding(ctx *fiber.Ctx) error
func (*LocationHandler) DeleteBuilding ¶
func (h *LocationHandler) DeleteBuilding(ctx *fiber.Ctx) error
func (*LocationHandler) EditMemberName ¶
func (h *LocationHandler) EditMemberName(ctx *fiber.Ctx) error
func (*LocationHandler) GetBuildingByID ¶
func (h *LocationHandler) GetBuildingByID(ctx *fiber.Ctx) error
func (*LocationHandler) GetBuildings ¶
func (h *LocationHandler) GetBuildings(ctx *fiber.Ctx) error
func (*LocationHandler) GetBuildingsByUserID ¶
func (h *LocationHandler) GetBuildingsByUserID(ctx *fiber.Ctx) error
func (*LocationHandler) GetFriendsByMemberId ¶
func (h *LocationHandler) GetFriendsByMemberId(ctx *fiber.Ctx) error
func (*LocationHandler) GetListMemberByBuildingID ¶
func (h *LocationHandler) GetListMemberByBuildingID(ctx *fiber.Ctx) error
func (*LocationHandler) GetListMyOwnedBuilding ¶
func (h *LocationHandler) GetListMyOwnedBuilding(ctx *fiber.Ctx) error
func (*LocationHandler) GetListOnlineMembers ¶
func (h *LocationHandler) GetListOnlineMembers(ctx *fiber.Ctx) error
func (*LocationHandler) GetMemberByID ¶
func (h *LocationHandler) GetMemberByID(ctx *fiber.Ctx) error
func (*LocationHandler) GetMemberByName ¶
func (h *LocationHandler) GetMemberByName(ctx *fiber.Ctx) error
func (*LocationHandler) GetMyInvitation ¶
func (h *LocationHandler) GetMyInvitation(ctx *fiber.Ctx) error
func (*LocationHandler) GetRoomsByBuildingId ¶
func (h *LocationHandler) GetRoomsByBuildingId(ctx *fiber.Ctx) error
func (*LocationHandler) InviteMemberToBuilding ¶
func (h *LocationHandler) InviteMemberToBuilding( ctx *fiber.Ctx, ) error
func (*LocationHandler) JoinBuildingById ¶
func (h *LocationHandler) JoinBuildingById(ctx *fiber.Ctx) error
type LoginRequest ¶
type NotificationHandler ¶
type NotificationHandler struct {
// contains filtered or unexported fields
}
func NewNotificationHandler ¶
func NewNotificationHandler( svc *service.NotificationService, ) *NotificationHandler
type RegisterRequest ¶
type RegisterResponse ¶
type RegisterResponse struct {
UserID string `json:"userID"`
}
type RemoteConfigHandler ¶
type RemoteConfigHandler struct {
// contains filtered or unexported fields
}
func NewRemoteConfigHandler ¶
func NewRemoteConfigHandler(svc *service.RemoteConfigService) *RemoteConfigHandler
func (*RemoteConfigHandler) GetAPKVersion ¶
func (h *RemoteConfigHandler) GetAPKVersion(ctx *fiber.Ctx) error
type ScheduleHandler ¶
type ScheduleHandler struct {
// contains filtered or unexported fields
}
func NewScheduleHandler ¶
func NewScheduleHandler(svc *service.ScheduleService) *ScheduleHandler
func (*ScheduleHandler) AutoSchedulePreview ¶
func (h *ScheduleHandler) AutoSchedulePreview(ctx *fiber.Ctx) error
func (*ScheduleHandler) AutoScheduleSave ¶
func (h *ScheduleHandler) AutoScheduleSave(ctx *fiber.Ctx) error
func (*ScheduleHandler) CreateSchedule ¶
func (h *ScheduleHandler) CreateSchedule(ctx *fiber.Ctx) error
func (*ScheduleHandler) CreateTaskDependency ¶
func (h *ScheduleHandler) CreateTaskDependency( ctx *fiber.Ctx, ) error
TODO: TEST
func (*ScheduleHandler) DeleteTaskDependency ¶
func (h *ScheduleHandler) DeleteTaskDependency( ctx *fiber.Ctx, ) error
TODO: Test
func (*ScheduleHandler) EditTaskDependency ¶
func (h *ScheduleHandler) EditTaskDependency( ctx *fiber.Ctx, ) error
TODO: Test
func (*ScheduleHandler) GetListScheduleByRoomID ¶
func (h *ScheduleHandler) GetListScheduleByRoomID(ctx *fiber.Ctx) error
func (*ScheduleHandler) GetListTaskByScheduleID ¶
func (h *ScheduleHandler) GetListTaskByScheduleID(ctx *fiber.Ctx) error
TODO: ## Filter assignee=string dependency=Array<taskID> ## Sort sort-by=Array<assignee|owner|startDate|endDate|duration> sort-dir=asc|dsc
func (*ScheduleHandler) GetTaskDetail ¶
func (h *ScheduleHandler) GetTaskDetail(ctx *fiber.Ctx) error
func (*ScheduleHandler) PostAddTask ¶
func (h *ScheduleHandler) PostAddTask(ctx *fiber.Ctx) error
func (*ScheduleHandler) PutEditTask ¶
func (h *ScheduleHandler) PutEditTask(ctx *fiber.Ctx) error
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(svc *service.UserService) *UserHandler
func (*UserHandler) CheckUserExistance ¶
func (h *UserHandler) CheckUserExistance(ctx *fiber.Ctx) error
func (*UserHandler) GetListUserByUsername ¶
func (h *UserHandler) GetListUserByUsername(ctx *fiber.Ctx) error
func (*UserHandler) Login ¶
func (h *UserHandler) Login(ctx *fiber.Ctx) error
func (*UserHandler) LoginAdmin ¶
func (h *UserHandler) LoginAdmin(ctx *fiber.Ctx) error
func (*UserHandler) Register ¶
func (h *UserHandler) Register(ctx *fiber.Ctx) error
func (*UserHandler) RegisterAdmin ¶
func (h *UserHandler) RegisterAdmin(ctx *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.