Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseService ¶
type BaseService struct {
}
type InviteCodeService ¶
type InviteCodeService interface {
FindByInviteCode(code string) (*dto.InviteCode, error)
}
func GetInviteCodeService ¶ added in v0.0.20
func GetInviteCodeService() InviteCodeService
type RoleService ¶
type RoleService interface {
LoadAllPolicy() error
}
func GetRoleService ¶
func GetRoleService() RoleService
type SocialUserService ¶
type SocialUserService interface {
GetById(id string) (*dto.SocialUser, error)
}
func GetSocialUserService ¶
func GetSocialUserService() SocialUserService
type UserService ¶
type UserService interface {
CreateUser(user *dto.User) (*dto.User, error)
GetById(id string) (*dto.User, error)
LoadAllPolicy() error
}
func GetUserService ¶
func GetUserService() UserService
Click to show internal directories.
Click to hide internal directories.