provider

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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.PostService
	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