cadoles-profile/ldap/provider.go

13 lines
231 B
Go
Raw Normal View History

2019-05-13 09:19:33 +02:00
package ldap
import "forge.cadoles.com/wpetit/goweb/service"
func ServiceProvider(url string) service.Provider {
srv := &Service{
url: url,
}
return func(ctn *service.Container) (interface{}, error) {
return srv, nil
}
}