Files
open-im-server/internal/common/check/user.go
T

38 lines
1.1 KiB
Go
Raw Normal View History

2023-01-31 09:59:15 +08:00
package check
import (
2023-02-09 20:36:34 +08:00
sdkws "Open_IM/pkg/proto/sdkws"
2023-01-31 09:59:15 +08:00
"context"
"errors"
)
2023-02-10 19:17:33 +08:00
//func GetUsersInfo(ctx context.Context, args ...interface{}) ([]*sdkws.UserInfo, error) {
// return nil, errors.New("TODO:GetUserInfo")
//}
2023-02-13 18:14:26 +08:00
func NewUserCheck() UserCheck {
return UserCheck{}
2023-02-10 19:17:33 +08:00
}
type UserCheck struct{}
2023-02-13 18:14:26 +08:00
func (UserCheck) GetUsersInfos(ctx context.Context, userIDs []string, complete bool) ([]*sdkws.UserInfo, error) {
2023-02-10 19:17:33 +08:00
return nil, errors.New("todo")
}
2023-02-13 18:14:26 +08:00
func (UserCheck) GetUsersInfoMap(ctx context.Context, userIDs []string, complete bool) (map[string]*sdkws.UserInfo, error) {
2023-02-10 19:17:33 +08:00
return nil, errors.New("todo")
}
2023-02-13 18:14:26 +08:00
func (UserCheck) GetPublicUserInfo(ctx context.Context, userID string) (*sdkws.PublicUserInfo, error) {
2023-02-10 19:17:33 +08:00
return nil, errors.New("todo")
}
2023-02-13 18:14:26 +08:00
func (UserCheck) GetPublicUserInfos(ctx context.Context, userIDs []string, complete bool) ([]*sdkws.PublicUserInfo, error) {
2023-02-10 19:17:33 +08:00
return nil, errors.New("todo")
}
2023-02-13 18:14:26 +08:00
func (UserCheck) GetPublicUserInfoMap(ctx context.Context, userIDs []string, complete bool) (map[string]*sdkws.PublicUserInfo, error) {
2023-02-10 19:17:33 +08:00
return nil, errors.New("todo")
2023-01-31 09:59:15 +08:00
}