provider

package
v1.0.50 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: GPL-3.0 Imports: 12 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
	FileService         service.IFileService
	PostService         service.IPostService
	AuthService         service.IAuthService
	RelationService     service.IRelationService
	UserService         service.IUserService
	ZoneService         service.IZoneService
	NotificationService service.INotificationService
	CommentService      service.ICommentService
	LabelService        service.ILabelService
	RecommendService    service.IRecommendService
	ProductService      service.IProductService
}

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