user

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const UserKey = "user"

Variables

This section is empty.

Functions

func NewUserService

func NewUserService(params ...interface{}) (interface{}, error)

Types

type Service

type Service interface {
	//请在这里定义你的方法
	Foo() string
}

type UserProvider

type UserProvider struct {
	framework.ServiceProvider
	// contains filtered or unexported fields
}

func (*UserProvider) Boot

func (sp *UserProvider) Boot(c framework.Container) error

func (*UserProvider) IsDefer

func (sp *UserProvider) IsDefer() bool

func (*UserProvider) Name

func (sp *UserProvider) Name() string

func (*UserProvider) Params

func (sp *UserProvider) Params(c framework.Container) []interface{}

func (*UserProvider) Register

type UserService

type UserService struct {
	// contains filtered or unexported fields
}

func (*UserService) Foo

func (s *UserService) Foo() string

Jump to

Keyboard shortcuts

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