di

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIProvider

type CLIProvider struct {
	Conf    *config.Config
	Migrate *handler.Migrate
}

func NewCliInjector

func NewCliInjector(conf *config.Config) *CLIProvider

type GRPCProvider

type GRPCProvider struct {
	Conf            *config.Config
	TokenMiddleware *middleware.TokenMiddleware
	RoutesServices  *middleware.GrpcMethodService
	AuthHandler     pb.AuthServiceServer
	UserHandler     pb.UserServiceServer
}

func NewGrpcInjector

func NewGrpcInjector(conf *config.Config) *GRPCProvider

type HTTPProvider

type HTTPProvider struct {
	Conf   *config.Config
	Engine *gin.Engine
}

func NewHttpInjector

func NewHttpInjector(conf *config.Config) *HTTPProvider

Jump to

Keyboard shortcuts

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