16 lines
410 B
Go
16 lines
410 B
Go
package service_event
|
|
|
|
type EventService interface {
|
|
Checkin(*CheckinPayload) *CheckinResult
|
|
CheckinSubmit(*CheckinSubmitPayload) *CheckinSubmitResult
|
|
CheckinQuery(*CheckinQueryPayload) *CheckinQueryResult
|
|
GetEventInfo(*EventInfoPayload) *EventInfoResult
|
|
ListEvents(*EventListPayload) *EventListResult
|
|
}
|
|
|
|
type EventServiceImpl struct{}
|
|
|
|
func NewEventService() EventService {
|
|
return &EventServiceImpl{}
|
|
}
|