18 lines
519 B
Go
18 lines
519 B
Go
package service_event
|
|
|
|
type EventService interface {
|
|
Checkin(*CheckinPayload) *CheckinResult
|
|
CheckinSubmit(*CheckinSubmitPayload) *CheckinSubmitResult
|
|
CheckinQuery(*CheckinQueryPayload) *CheckinQueryResult
|
|
GetEventInfo(*EventInfoPayload) *EventInfoResult
|
|
ListEvents(*EventListPayload) *EventListResult
|
|
JoinEvent(*EventJoinPayload) *EventJoinResult
|
|
AttendanceList(*AttendanceListPayload) *AttendanceListResult
|
|
}
|
|
|
|
type EventServiceImpl struct{}
|
|
|
|
func NewEventService() EventService {
|
|
return &EventServiceImpl{}
|
|
}
|