rpcclient

package
v0.0.0-...-2a6e696 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

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 NewUser

func NewUser(user userfind.User) *User

func (*User) GetPublicUserInfo

func (u *User) GetPublicUserInfo(ctx context.Context, userID string) (*sdkws.PublicUserInfo, error)

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

func (u *User) GetUserInfo(ctx context.Context, userID string) (*user.UserInfo, error)

GetUserInfo retrieves information for a single user based on the provided user ID.

func (*User) GetUsersInfo

func (u *User) GetUsersInfo(ctx context.Context, userIDs []string) ([]*user.UserInfo, error)

GetUsersInfo retrieves information for multiple users based on their user IDs.

func (*User) GetUsersInfoMap

func (u *User) GetUsersInfoMap(ctx context.Context, userIDs []string) (map[string]*user.UserInfo, error)

GetUsersInfoMap retrieves a map of user information indexed by their user IDs.

Jump to

Keyboard shortcuts

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