(ctx context.Context, users *common.Users)
| 35 | } |
| 36 | |
| 37 | func (s *Service) SyncUsers(ctx context.Context, users *common.Users) (*common.Empty, error) { |
| 38 | if err := s.Backend().SyncUsers(ctx, users.GetUsers()); err != nil { |
| 39 | return nil, err |
| 40 | } |
| 41 | |
| 42 | return nil, nil |
| 43 | } |
| 44 | |
| 45 | func (s *Service) SyncUsersChunked(stream grpc.ClientStreamingServer[common.UsersChunk, common.Empty]) error { |
| 46 | chunks := make(map[uint64][]*common.User) |
nothing calls this directly
no test coverage detected