full

package
v3.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Full

type Full struct {
	// contains filtered or unexported fields
}

func NewFull

func NewFull(user *user.User, friend *friend.Friend, group *group.Group, ch chan common.Cmd2Value,
	db db_interface.DataBase) *Full

func (*Full) GetGroupInfoByGroupID

func (u *Full) GetGroupInfoByGroupID(ctx context.Context, groupID string) (*model_struct.LocalGroup, error)

func (*Full) GetGroupInfoFromLocal2Svr

func (u *Full) GetGroupInfoFromLocal2Svr(ctx context.Context, groupID string, sessionType int32) (*model_struct.LocalGroup, error)

func (*Full) GetGroupsInfo

func (u *Full) GetGroupsInfo(ctx context.Context, groupIDs ...string) (map[string]*model_struct.LocalGroup, error)

func (*Full) GetReadDiffusionGroupIDList

func (u *Full) GetReadDiffusionGroupIDList(ctx context.Context) ([]string, error)

func (*Full) GetUsersInfo

func (u *Full) GetUsersInfo(ctx context.Context, userIDs []string) ([]*api.FullUserInfo, error)

func (*Full) GetUsersInfoWithCache added in v3.4.0

func (u *Full) GetUsersInfoWithCache(ctx context.Context, userIDs []string, groupID string) ([]*api.FullUserInfoWithCache, error)

func (*Full) Group

func (u *Full) Group() *group.Group

Jump to

Keyboard shortcuts

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