impl

package
v0.0.0-...-73ad4b0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName = "user"
)

Variables

This section is empty.

Functions

func VerifyNameAndPassword

func VerifyNameAndPassword(req *user.CreateUserRequest) error

验证用户名密码是否为空

Types

type UserServiceImpl

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

func (*UserServiceImpl) AllowOverwrite

func (u *UserServiceImpl) AllowOverwrite() bool

func (*UserServiceImpl) Close

func (u *UserServiceImpl) Close(ctx context.Context) error

func (*UserServiceImpl) CreateUser

func (i *UserServiceImpl) CreateUser(ctx context.Context, req *user.CreateUserRequest) (*user.Users, error)

create user

func (*UserServiceImpl) DeleteUser

func (i *UserServiceImpl) DeleteUser(ctx context.Context, req *user.DeleteUserRequest) error

delete user

func (*UserServiceImpl) EditUser

func (i *UserServiceImpl) EditUser(ctx context.Context, req *user.EditUserRequest) (*user.Users, error)

edit user

func (*UserServiceImpl) Init

func (u *UserServiceImpl) Init() error

func (*UserServiceImpl) Name

func (u *UserServiceImpl) Name() string

func (*UserServiceImpl) Priority

func (u *UserServiceImpl) Priority() int

func (*UserServiceImpl) QueryUser

func (i *UserServiceImpl) QueryUser(ctx context.Context, req *user.QueryUserRequest) (*user.Users, error)

query user

func (*UserServiceImpl) Version

func (u *UserServiceImpl) Version() string

Jump to

Keyboard shortcuts

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