di

package
v0.1.0-alpha.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Copyright (c) 2025 Nexlayer. All rights reserved.n// Use of this source code is governed by an MIT-stylen// license that can be found in the LICENSE file.nn

Index

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 handles dependency injection for the application.

func NewContainer

func NewContainer() *Container

NewContainer creates a new dependency injection container.

func (*Container) GetAPIClient

func (c *Container) GetAPIClient() api.APIClient

GetAPIClient returns the API client instance.

func (*Container) GetConfig

func (c *Container) GetConfig() *config.Config

GetConfig returns the configuration instance.

func (*Container) GetLogger

func (c *Container) GetLogger() *observability.Logger

GetLogger returns the logger instance.

func (*Container) GetUIManager

func (c *Container) GetUIManager() *ui.Manager

GetUIManager returns the UI manager instance.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL