service

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 2 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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