Documentation ¶
Index ¶
- type UserServer
- type UserService
- func (user *UserService) FetchUserActives(ctx context.Context, req *api.FetchUserActivesRequest) (*api.FetchUserActivesResponse, error)
- func (user *UserService) GetUserFollowingGroup(ctx context.Context, req *api.UserFollowingGroupRequest) (*api.UserFollowingGroupResponse, error)
- func (user *UserService) GetUserGroup(ctx context.Context, req *api.UserGroupRequest) (*api.UserGroupResponse, error)
- func (user *UserService) GetUserInfo(ctx context.Context, req *api.UserInfoRequest) (*api.UserInfoResponse, error)
- func (user *UserService) SearchUser(ctx context.Context, req *api.SearchUserRequest) (*api.SearchUserResponse, error)
- func (user *UserService) UpdateAvator(ctx context.Context, req *api.UpdateUserAvatorRequest) (*api.UpdateUserAvatorResponse, error)
- func (user *UserService) UpdateUser(ctx context.Context, req *api.UserUpdateRequest) (*api.UserUpdateResponse, error)
- func (user *UserService) UserWatching(ctx context.Context, req *api.UserWatchingRequest) (*api.UserWatchingResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServer ¶
type UserServer interface { GetUserInfo(ctx context.Context, req *api.UserInfoRequest) (*api.UserInfoResponse, error) UpdateAvator(ctx context.Context, req *api.UpdateUserAvatorRequest) (*api.UpdateUserAvatorResponse, error) GetUserGroup(ctx context.Context, req *api.UserGroupRequest) (*api.UserGroupResponse, error) GetUserFollowingGroup(ctx context.Context, req *api.UserFollowingGroupRequest) (*api.UserFollowingGroupResponse, error) UpdateUser(ctx context.Context, req *api.UserUpdateRequest) (*api.UserUpdateResponse, error) FetchUserActives(ctx context.Context, req *api.FetchUserActivesRequest) (*api.FetchUserActivesResponse, error) SearchUser(ctx context.Context, req *api.SearchUserRequest) (*api.SearchUserResponse, error) UserWatching(ctx context.Context, req *api.UserWatchingRequest) (*api.UserWatchingResponse, error) }
func GetUserServer ¶
func GetUserServer() UserServer
type UserService ¶
type UserService struct { }
func NewUserSerivce ¶
func NewUserSerivce() *UserService
func (*UserService) FetchUserActives ¶
func (user *UserService) FetchUserActives(ctx context.Context, req *api.FetchUserActivesRequest) ( *api.FetchUserActivesResponse, error)
func (*UserService) GetUserFollowingGroup ¶
func (user *UserService) GetUserFollowingGroup(ctx context.Context, req *api.UserFollowingGroupRequest) ( *api.UserFollowingGroupResponse, error)
func (*UserService) GetUserGroup ¶
func (user *UserService) GetUserGroup(ctx context.Context, req *api.UserGroupRequest) (*api.UserGroupResponse, error)
func (*UserService) GetUserInfo ¶
func (user *UserService) GetUserInfo(ctx context.Context, req *api.UserInfoRequest) (*api.UserInfoResponse, error)
func (*UserService) SearchUser ¶
func (user *UserService) SearchUser(ctx context.Context, req *api.SearchUserRequest) ( *api.SearchUserResponse, error)
组织内搜索指定用户
func (*UserService) UpdateAvator ¶
func (user *UserService) UpdateAvator(ctx context.Context, req *api.UpdateUserAvatorRequest) ( *api.UpdateUserAvatorResponse, error)
func (*UserService) UpdateUser ¶
func (user *UserService) UpdateUser(ctx context.Context, req *api.UserUpdateRequest) ( *api.UserUpdateResponse, error)
func (*UserService) UserWatching ¶
func (user *UserService) UserWatching(ctx context.Context, req *api.UserWatchingRequest) ( *api.UserWatchingResponse, error)
Click to show internal directories.
Click to hide internal directories.