Documentation
¶
Index ¶
- type Container
- func (c *Container) AdapterStatusDao() dao.AdapterStatusDao
- func (c *Container) AdapterStatusService() services.AdapterStatusService
- func (c *Container) GenericDao() dao.GenericDao
- func (c *Container) GenericService() services.GenericService
- func (c *Container) JWTHandler() *auth.JWTHandler
- func (c *Container) ResourceConditionDao() dao.ResourceConditionDao
- func (c *Container) ResourceDao() dao.ResourceDao
- func (c *Container) ResourceLabelDao() dao.ResourceLabelDao
- func (c *Container) ResourceService() services.ResourceService
- func (c *Container) SchemaValidator() *validators.SchemaValidator
- func (c *Container) SessionFactory() db.SessionFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
Container lazily constructs and caches application dependencies during sequential startup. It is not safe for concurrent initialization.
func NewContainer ¶
func NewContainer(cfg *config.ApplicationConfig, c *closer.Closer) *Container
func (*Container) AdapterStatusDao ¶
func (c *Container) AdapterStatusDao() dao.AdapterStatusDao
func (*Container) AdapterStatusService ¶
func (c *Container) AdapterStatusService() services.AdapterStatusService
func (*Container) GenericDao ¶
func (c *Container) GenericDao() dao.GenericDao
func (*Container) GenericService ¶
func (c *Container) GenericService() services.GenericService
func (*Container) JWTHandler ¶
func (c *Container) JWTHandler() *auth.JWTHandler
func (*Container) ResourceConditionDao ¶
func (c *Container) ResourceConditionDao() dao.ResourceConditionDao
func (*Container) ResourceDao ¶
func (c *Container) ResourceDao() dao.ResourceDao
func (*Container) ResourceLabelDao ¶
func (c *Container) ResourceLabelDao() dao.ResourceLabelDao
func (*Container) ResourceService ¶
func (c *Container) ResourceService() services.ResourceService
func (*Container) SchemaValidator ¶
func (c *Container) SchemaValidator() *validators.SchemaValidator
func (*Container) SessionFactory ¶
func (c *Container) SessionFactory() db.SessionFactory
Click to show internal directories.
Click to hide internal directories.