Container: Add Gin web service provider

This commit is contained in:
Muyao CHEN
2024-09-28 22:48:33 +02:00
parent f866f18cfd
commit f0b688ff8c
5 changed files with 64 additions and 2 deletions

View File

@ -16,6 +16,7 @@ type ServiceProvider interface {
InstantiateLater() bool
// Params defines the parameters needed to instantiate a service.
// NOTE: First one should always be the container.
Params(Container) []interface{}
// Name is the name of the service provider