mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
19 lines
310 B
Go
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)
|
|
}
|