You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/internal/common/check/user.go

38 lines
1.1 KiB

package check
import (
2 years ago
sdkws "Open_IM/pkg/proto/sdkws"
"context"
"errors"
)
2 years ago
//func GetUsersInfo(ctx context.Context, args ...interface{}) ([]*sdkws.UserInfo, error) {
// return nil, errors.New("TODO:GetUserInfo")
//}
2 years ago
func NewUserCheck() UserCheck {
return UserCheck{}
2 years ago
}
type UserCheck struct{}
2 years ago
func (UserCheck) GetUsersInfos(ctx context.Context, userIDs []string, complete bool) ([]*sdkws.UserInfo, error) {
2 years ago
return nil, errors.New("todo")
}
2 years ago
func (UserCheck) GetUsersInfoMap(ctx context.Context, userIDs []string, complete bool) (map[string]*sdkws.UserInfo, error) {
2 years ago
return nil, errors.New("todo")
}
2 years ago
func (UserCheck) GetPublicUserInfo(ctx context.Context, userID string) (*sdkws.PublicUserInfo, error) {
2 years ago
return nil, errors.New("todo")
}
2 years ago
func (UserCheck) GetPublicUserInfos(ctx context.Context, userIDs []string, complete bool) ([]*sdkws.PublicUserInfo, error) {
2 years ago
return nil, errors.New("todo")
}
2 years ago
func (UserCheck) GetPublicUserInfoMap(ctx context.Context, userIDs []string, complete bool) (map[string]*sdkws.PublicUserInfo, error) {
2 years ago
return nil, errors.New("todo")
}