provider

package
v0.0.0-...-c0db5c6 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DomainSet = wire.NewSet()
View Source
var InfrastructureSet = wire.NewSet(
	config.NewConfig,
	RPCSet,
)

Functions

func Init

func Init()

Types

type Provider

type Provider struct {
	Config      *config.Config
	DataService service.IDataService
	AuthService service.IAuthService
}

Provider 提供controller依赖的对象

func Get

func Get() *Provider

func NewProvider

func NewProvider() (*Provider, error)

Jump to

Keyboard shortcuts

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