| 123456789101112131415161718192021222324252627 |
- package service
- import (
- "xps/datasource"
- "xps/repositories"
- )
- type ApiGatewayService interface {
- HandleRequest(m map[string]interface{}) error
- }
- type apiGatewayService struct {
- apiRepo *repositories.ApiRepo
- }
- func (a apiGatewayService) HandleRequest(m map[string]interface{}) error {
-
- return nil
- }
- func NewApiGatewayService() ApiGatewayService {
- return &apiGatewayService{
- apiRepo: repositories.NewApiRepo(datasource.InstanceMaster()),
- }
- }
|