Documentation
¶
Index ¶
- type CategoriesRequest
- type CategoriesResponse
- type CreateUserRequest
- type CreateUserResponse
- type EmailApproval
- type EmailNotification
- type EmailOTP
- type EventRequest
- type EventResponse
- type FilterParam
- type LoginUserRequest
- type OrganizerVerifyRequest
- type OtpUserRequest
- type OtpUserResponse
- type PaymentHistoryResponse
- type PaymentRequest
- type PaymentResponse
- type ProfileUserRequest
- type ProfileUserResponse
- type Response
- type ServiceResponse
- type TicketOrganizerResponse
- type TicketUserResponse
- type UserTokenData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoriesRequest ¶
type CategoriesRequest struct {
Name string `json:"name" binding:"required,alpha"`
}
type CategoriesResponse ¶
type CreateUserRequest ¶
type CreateUserResponse ¶
type EmailApproval ¶
type EmailNotification ¶
type EventRequest ¶
type EventRequest struct { CategoryID string `form:"category_id" binding:"required"` Title string `form:"title" binding:"required,alpha"` Description string `form:"description" binding:"required,alpha"` Place string `form:"place" default:"Online" binding:"required,alpha"` Speakers []string `form:"speakers" binding:"required"` SpeakersRole []string `form:"speaker_roles" binding:"required"` Banner *multipart.FileHeader `form:"banner"` Date string `form:"date" binding:"required"` StartAt string `form:"start_at" binding:"required"` Link string `form:"link"` Price uint32 `form:"price" default:0` TicketQty uint16 `form:"ticket_qty" binding:"required"` IsPublic bool `form:"is_public" binding:"required"` }
type EventResponse ¶
type EventResponse struct { ID string `json:"-"` CategoryID string `json:"category_id"` Title string `json:"title" ` Description string `json:"description"` Place string `json:"place"` Speakers []string `json:"speakers"` SpeakersRole []string `json:"speaker_roles"` BannerUrl string `json:"banner"` Date string `json:"date"` StartAt string `json:"start_at"` Link string `json:"link"` Price uint32 `json:"price"` TicketQty uint16 `json:"ticket_qty"` OrganizeBy string `json:"organize_by"` IsPublic bool `json:"is_public"` }
type FilterParam ¶
type LoginUserRequest ¶
type OrganizerVerifyRequest ¶
type OtpUserRequest ¶
type OtpUserResponse ¶
type PaymentHistoryResponse ¶
type PaymentHistoryResponse struct { ID string `json:"id"` Amount int64 `json:"amount"` Status string `json:"status"` Event EventResponse }
type PaymentRequest ¶
type PaymentRequest struct {
EventID string `json:"event_id" binding:"required"`
}
type PaymentResponse ¶
type ProfileUserRequest ¶
type ProfileUserResponse ¶
type ProfileUserResponse struct { ID string `json:"id"` Email string `json:"email"` FullName string `json:"full_name"` NimNik string `json:"nim_nik"` Prodi string `json:"prodi"` Universitas string `json:"universitas"` ID_Url string `json:"id_url"` IsOrganizer bool `json:"is_organizer"` IsEmailVerified bool `json:"is_email_verified"` IsProfileVerified bool `json:"is_profile_verified"` }
type TicketOrganizerResponse ¶
type TicketUserResponse ¶
Click to show internal directories.
Click to hide internal directories.