mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
38 lines
1.1 KiB
Go
38 lines
1.1 KiB
Go
package check
|
|
|
|
import (
|
|
sdkws "Open_IM/pkg/proto/sdkws"
|
|
"context"
|
|
"errors"
|
|
)
|
|
|
|
//func GetUsersInfo(ctx context.Context, args ...interface{}) ([]*sdkws.UserInfo, error) {
|
|
// return nil, errors.New("TODO:GetUserInfo")
|
|
//}
|
|
|
|
func NewUserCheck() UserCheck {
|
|
return UserCheck{}
|
|
}
|
|
|
|
type UserCheck struct{}
|
|
|
|
func (UserCheck) GetUsersInfos(ctx context.Context, userIDs []string, complete bool) ([]*sdkws.UserInfo, error) {
|
|
return nil, errors.New("todo")
|
|
}
|
|
|
|
func (UserCheck) GetUsersInfoMap(ctx context.Context, userIDs []string, complete bool) (map[string]*sdkws.UserInfo, error) {
|
|
return nil, errors.New("todo")
|
|
}
|
|
|
|
func (UserCheck) GetPublicUserInfo(ctx context.Context, userID string) (*sdkws.PublicUserInfo, error) {
|
|
return nil, errors.New("todo")
|
|
}
|
|
|
|
func (UserCheck) GetPublicUserInfos(ctx context.Context, userIDs []string, complete bool) ([]*sdkws.PublicUserInfo, error) {
|
|
return nil, errors.New("todo")
|
|
}
|
|
|
|
func (UserCheck) GetPublicUserInfoMap(ctx context.Context, userIDs []string, complete bool) (map[string]*sdkws.PublicUserInfo, error) {
|
|
return nil, errors.New("todo")
|
|
}
|