An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/abiosoft/injekt

Package injekt provides a pluggable service injector for any project or framework. Service injection is achieved by wrapping a custom function (with services as parameters) with the required function. http.Handler example: Write custom function. `session` will be injected as well as specified parameters of the required function. Wrap custom function. This returns an `interface{}` that can be asserted to the required function type. Register services before function is executed.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/abiosoft/injekt
License: Apache-2.0
Latest release: about 9 years ago
First release: about 9 years ago
Namespace: github.com/abiosoft
Stars: 3 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 2 months ago

    Loading...
    Readme
    Loading...