Documentation ¶
Index ¶
Constants ¶
View Source
const UserKey = "user"
Variables ¶
This section is empty.
Functions ¶
func NewUserService ¶
func NewUserService(params ...interface{}) (interface{}, error)
Types ¶
type UserProvider ¶
type UserProvider struct { framework.ServiceProvider // contains filtered or unexported fields }
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 ¶
func (sp *UserProvider) Register(c framework.Container) framework.NewInstance
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func (*UserService) Foo ¶
func (s *UserService) Foo() string
Click to show internal directories.
Click to hide internal directories.