provider

package
v1.0.36 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func Init

func Init()

Types

type Provider

type Provider struct {
	Config            *config.Config
	CollectionService service.ICollectionService
	AuthService       service.IAuthService
	CommentService    service.ICommentService
	UserService       service.IUserService
	MomentService     service.IMomentService
	PostService       service.IPostService
	LikeService       service.ILikeService
	StsService        service.IStsService
	SystemService     service.ISystemService
	PlanService       service.IPlanService
}

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