Files
APIPark/gateway/apinto/factory.go
2024-08-12 21:38:09 +08:00

19 lines
310 B
Go

package apinto
import (
"github.com/APIParkLab/APIPark/gateway"
)
func init() {
gateway.Register("apinto", &Factory{})
}
var _ gateway.IFactory = &Factory{}
type Factory struct {
}
func (f *Factory) Create(config *gateway.ClientConfig) (gateway.IClientDriver, error) {
return NewClientDriver(config)
}