Full Restruct API and Services
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
14
service/service_event/service.go
Normal file
14
service/service_event/service.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package service_event
|
||||
|
||||
type EventService interface {
|
||||
Checkin(*CheckinPayload) *CheckinResult
|
||||
CheckinSubmit(*CheckinSubmitPayload) *CheckinSubmitResult
|
||||
CheckinQuery(*CheckinQueryPayload) *CheckinQueryResult
|
||||
Info(*InfoPayload) *InfoResult
|
||||
}
|
||||
|
||||
type EventServiceImpl struct{}
|
||||
|
||||
func NewEventService() EventService {
|
||||
return &EventServiceImpl{}
|
||||
}
|
||||
Reference in New Issue
Block a user