service

package
v0.0.0-...-96417ad Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountService

type AccountService interface {
	CreateAccount(info *model.Register) error
	GetAccountInfo(info *model.Register) (*model.Register, error)
	UpdateAccountInfo(info *model.Register) error //修改phone,email,password
	GetUserInfo(userId int64) (*model.UserInfo, error)
	UpdateUserInfo(user *model.UserInfo) error
}

func NewAccountService

func NewAccountService(
	srv *Service,
	cache cache.AccountCache,
) AccountService

type Service

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

func NewService

func NewService(l *log.Logger, rpcClient *rpc.Client) *Service

Jump to

Keyboard shortcuts

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