Documentation ¶
Index ¶
- type CreateScheduleBodyRequest
- type CreateScheduleRequest
- type CreateUserBodyRequest
- type CreateUserRequest
- type DeleteScheduleRequest
- type DeleteUserRequest
- type GetScheduleRequest
- type GetTimezoneRequest
- type GetUserRequest
- type ScheduleController
- func (c *ScheduleController) CreateSchedule(ctx *web.Context) error
- func (c *ScheduleController) DeleteSchedule(ctx *web.Context) error
- func (c *ScheduleController) GetSchedule(ctx *web.Context) error
- func (c *ScheduleController) ListSchedule(ctx *web.Context) error
- func (c *ScheduleController) UpdateSchedule(ctx *web.Context) error
- type TimezoneController
- type UpdateScheduleBodyRequest
- type UpdateScheduleRequest
- type UpdateUserBodyRequest
- type UpdateUserRequest
- type UserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateScheduleRequest ¶
type CreateScheduleRequest struct {
Body CreateScheduleBodyRequest `json:"body" validate:"not-empty"`
}
type CreateUserBodyRequest ¶
type CreateUserRequest ¶
type CreateUserRequest struct {
Body CreateUserBodyRequest `json:"body" validate:"not-empty"`
}
type DeleteScheduleRequest ¶
type DeleteScheduleRequest struct {
Id string `json:"id" validate:"not-empty"`
}
type DeleteUserRequest ¶
type DeleteUserRequest struct {
Id string `json:"id" validate:"not-empty"`
}
type GetScheduleRequest ¶
type GetScheduleRequest struct {
Id string `json:"id" validate:"not-empty"`
}
type GetTimezoneRequest ¶
type GetTimezoneRequest struct {
Id string `json:"id" validate:"not-empty"`
}
type GetUserRequest ¶
type GetUserRequest struct {
Id string `json:"id" validate:"not-empty"`
}
type ScheduleController ¶
type ScheduleController struct {
// contains filtered or unexported fields
}
func NewScheduleController ¶
func NewScheduleController(model *models.ScheduleModel) *ScheduleController
func (*ScheduleController) CreateSchedule ¶
func (c *ScheduleController) CreateSchedule(ctx *web.Context) error
func (*ScheduleController) DeleteSchedule ¶
func (c *ScheduleController) DeleteSchedule(ctx *web.Context) error
func (*ScheduleController) GetSchedule ¶
func (c *ScheduleController) GetSchedule(ctx *web.Context) error
func (*ScheduleController) ListSchedule ¶
func (c *ScheduleController) ListSchedule(ctx *web.Context) error
func (*ScheduleController) UpdateSchedule ¶
func (c *ScheduleController) UpdateSchedule(ctx *web.Context) error
type TimezoneController ¶
type TimezoneController struct {
// contains filtered or unexported fields
}
func NewTimezoneController ¶
func NewTimezoneController(model *models.TimezoneModel) *TimezoneController
func (*TimezoneController) GetTimezone ¶
func (c *TimezoneController) GetTimezone(ctx *web.Context) error
func (*TimezoneController) ListTimezone ¶
func (c *TimezoneController) ListTimezone(ctx *web.Context) error
type UpdateScheduleRequest ¶
type UpdateScheduleRequest struct { Id string `json:"id" validate:"not-empty"` Body UpdateScheduleBodyRequest `json:"body" validate:"not-empty"` }
type UpdateUserBodyRequest ¶
type UpdateUserRequest ¶
type UpdateUserRequest struct { Id string `json:"id" validate:"not-empty"` Body UpdateUserBodyRequest `json:"body" validate:"not-empty"` }
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(model *models.UserModel) *UserController
func (*UserController) CreateUser ¶
func (c *UserController) CreateUser(ctx *web.Context) error
func (*UserController) DeleteUser ¶
func (c *UserController) DeleteUser(ctx *web.Context) error
func (*UserController) UpdateUser ¶
func (c *UserController) UpdateUser(ctx *web.Context) error
Click to show internal directories.
Click to hide internal directories.