Documentation ¶
Index ¶
- type Meeting
- type User
- func (u *User) GetPublicUserInfo(ctx context.Context, userID string) (*sdkws.PublicUserInfo, error)
- func (u *User) GetPublicUserInfoMap(ctx context.Context, userIDs []string, complete bool) (map[string]*sdkws.PublicUserInfo, error)
- func (u *User) GetPublicUserInfos(ctx context.Context, userIDs []string, complete bool) ([]*sdkws.PublicUserInfo, error)
- func (u *User) GetUserInfo(ctx context.Context, userID string) (*user.UserInfo, error)
- func (u *User) GetUsersInfo(ctx context.Context, userIDs []string) ([]*user.UserInfo, error)
- func (u *User) GetUsersInfoMap(ctx context.Context, userIDs []string) (map[string]*user.UserInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meeting ¶
type Meeting struct { Client meeting.MeetingServiceClient Discovery discovery.SvcDiscoveryRegistry // contains filtered or unexported fields }
func NewMeeting ¶
func NewMeeting(discovery discovery.SvcDiscoveryRegistry, rpcRegisterName string) *Meeting
NewMeeting initializes and returns a User instance based on the provided service discovery registry.
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) GetPublicUserInfo ¶
GetPublicUserInfo retrieves public information for a single user based on the provided user ID.
func (*User) GetPublicUserInfoMap ¶
func (u *User) GetPublicUserInfoMap( ctx context.Context, userIDs []string, complete bool, ) (map[string]*sdkws.PublicUserInfo, error)
GetPublicUserInfoMap retrieves a map of public user information indexed by their user IDs.
func (*User) GetPublicUserInfos ¶
func (u *User) GetPublicUserInfos( ctx context.Context, userIDs []string, complete bool, ) ([]*sdkws.PublicUserInfo, error)
GetPublicUserInfos retrieves public information for multiple users based on their user IDs.
func (*User) GetUserInfo ¶
GetUserInfo retrieves information for a single user based on the provided user ID.
func (*User) GetUsersInfo ¶
GetUsersInfo retrieves information for multiple users based on their user IDs.
Click to show internal directories.
Click to hide internal directories.