service_gateway.go
488 字节
package factory
import serviceGateway "gitlab.fjmaimaimai.com/allied-creation/allied-creation-cooperation/pkg/infrastructure/service_gateway"
func CreateUserServiceGateway(options map[string]interface{}) (serviceGateway.UserServiceGateway, error) {
return serviceGateway.NewHttplibUserServiceGateway(), nil
}
func CreateMessageServiceGateway(options map[string]interface{}) (serviceGateway.BasicServiceGateway, error) {
return serviceGateway.NewHttplibMessageServiceGateway(), nil
}