cadoles-profile/ldap/provider.go

13 lines
231 B
Go

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
}
}